The Message Body is empty when I try to display it in failed messages using ServicePulse 1.13.2. I am able to see the Message Body for failed messages using version 1.12.0
Hi Steve,
Could you please have a look into console tab of F12 tools in your browser and tell me if you see there any errors when you try to display the message body? Can you also check headers if they contain the value for:
NServiceBus.ContentType
and what is that value?
Regards
Michael
Michal,
There are errors:
TypeError: Object doesnât support property or method âfindâ
at getContentType (http://servicepulse-uat/js/views/message/controller.js:85:13)
at Anonymous function (http://servicepulse-uat/js/views/message/controller.js:63:21)
at processQueue (eval code:17330:13)
at Anonymous function (eval code:17378:27)
at Scope.prototype.$digest (eval code:18515:15)
at Scope.prototype.$apply (eval code:18903:13)
at done (eval code:12775:36)
at completeRequest (eval code:13032:7)
at requestLoaded (eval code:12937:9) Possibly unhandled rejection: {âdescriptionâ:âObject doesnât support property or method âfindââ,ânumberâ:-2146827850,âstackâ:âTypeError: Object doesnât support property or method âfindâ\n at getContentType (http://servicepulse-uat/js/views/message/controller.js:85:13)\n at Anonymous function (http://servicepulse-uat/js/views/message/controller.js:63:21)\n at processQueue (eval code:17330:13)\n at Anonymous function (eval code:17378:27)\n at Scope.prototype.$digest (eval code:18515:15)\n at Scope.prototype.$apply (eval code:18903:13)\n at done (eval code:12775:36)\n at completeRequest (eval code:13032:7)\n at requestLoaded (eval code:12937:9)â}
NServiceBus.ContentType: text/xml
Hi Steve,
Please check the latest release of ServicePulse 1.13.3. It should resolve that issue
Regards
Michael
Michal,
I installed SP 1.13.3 and I am able to to see the message body now.
Thanks
Michal,
I notice that when the message body is displayed that the carriage return / line feed characters are displayed so that everything runs together. Is that the intended behavior?
Thanks,
-Steve
Steve,
We pretty-print the message body from version 1.13, for both xml and json. Which means that it will show line breaks and indents. Unless you meant something else?
Michal,
Please disregard my last post. Things are working.
Thanks,
-Steve