camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Müller (JIRA) <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5718) Bodies of TX SMs with 8-bit data_coding are mangled
Date Wed, 31 Oct 2012 22:17:12 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-5718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13488301#comment-13488301
] 

Christian Müller commented on CAMEL-5718:
-----------------------------------------

After applying your patches, 4 test on my machine failed:

{noformat}
Results :

Failed tests: 
  createSmppMessageFromDefaultDataCodingDeliverSmShouldNotModifyBody(org.apache.camel.component.smpp.SmppBindingTest):
arrays first differed at element [0]; expected:<-1> but was:<-40>
  createSmppMessageFromLatin1DataCodingDeliverSmShouldNotModifyBody(org.apache.camel.component.smpp.SmppBindingTest):
arrays first differed at element [0]; expected:<-1> but was:<-40>
  createSmppMessageFrom8bitDataCodingDeliverSmShouldNotModifyBody(org.apache.camel.component.smpp.SmppBindingTest):
arrays first differed at element [0]; expected:<-1> but was:<-40>
  createBodyShouldNotMangle8bitDataCodingShortMessage(org.apache.camel.component.smpp.SmppMessageTest):
arrays first differed at element [0]; expected:<-1> but was:<-40>

Tests run: 125, Failures: 4, Errors: 0, Skipped: 4
{noformat}

Could you please have a look at it? What's your OS and default charset?
                
> Bodies of TX SMs with 8-bit data_coding are mangled
> ---------------------------------------------------
>
>                 Key: CAMEL-5718
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5718
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smpp
>            Reporter: Francois Kritzinger
>            Assignee: Christian Müller
>             Fix For: 2.9.5, 2.10.3, 2.11.0
>
>         Attachments: camel_smpp_8bit_messages.diff, test_deliver_sm_bodies_not_mangled.diff
>
>
> Bytes in the body of 8-bit SUBMIT_SMs which do not fall within the chosen charset's range
are set to '?', which is obviously wrong because 8-bit/binary data should not be modified
in any way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message