History | Log In     View a printable version of the current page. Get help!  
Issue Details (XML | Word)

Key: HJMS-188
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Colin Crist
Reporter: Mark Jeffrey
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

MapMessage does not support Character map values

Created: 14/Feb/12 04:55 PM   Updated: 15/Feb/12 05:48 AM
Component/s: GUI
Affects Version/s: 1.14
Fix Version/s: 1.15

File Attachments: 1. Text File MapMessage_Character_problem_possible_fix.patch (4 kb)

 Description  « Hide
This is a message as XML from hermes
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <entry type="4">
        <mapMessage fromQueue="true" JMSTimestamp="1323876644758" JMSRedelivered="false" JMSPriority="4" JMSMessageID="ID:96e09365-2668-11e1-b227-628d9cabd998" JMSExpiration="0" JMSDestination="docstore.private.trigger.notification.DLQ" JMSDeliveryMode="2">
            <headerProperty type="java.lang.String" value="jms.queue.docstore.private.trigger.notification" name="_HQ_ORIG_ADDRESS"/>
            <headerProperty type="java.lang.Long" value="2147553916" name="_HQ_ORIG_MESSAGE_ID"/>
            <bodyProperty type="java.lang.Long" value="50421799" name="DOCUMENT_ID"/>
            <bodyProperty type="java.lang.String" value="NEW_DOCUMENT" name="TYPE"/>
            <bodyProperty type="java.lang.Character" value="d" name="DOCUMENT_CLASS_DISC"/>

In the Payload Renderer the java.lang.Character is listed incorrectly as STRING (this is the default in a switch statement in MapMessagePayloadPanel)
On uploading the XML message this propery is lost.

I will attach a patch for this based on the trunk which I think will work (unfortunately due to dependencies i was not able to build and test it).

p.s. thanks for a great tool

 All   Comments   Change History      Sort Order:
Mark Jeffrey [14/Feb/12 04:56 PM]
I think this may fix it...

Colin Crist [15/Feb/12 05:48 AM]
Lovely, thank you.