Message Body Does Not Display in SerivcePulse 1.13.2


(Steve Small) #1

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


(Michal Wojcik) #2

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


(Steve Small) #3

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


(Michal Wojcik) #4

Hi Steve,

Please check the latest release of ServicePulse 1.13.3. It should resolve that issue

Regards
Michael


(Steve Small) #5

Michal,

I installed SP 1.13.3 and I am able to to see the message body now.

Thanks


(Steve Small) #6

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


(Michal Wojcik) #7

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?


(Steve Small) #8

Michal,

Please disregard my last post. Things are working.

Thanks,

-Steve