olupotd / asmack

Automatically exported from code.google.com/p/asmack
Other
0 stars 0 forks source link

Recived IQ is broken #81

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What are you doing to produce the error?
1.Send an IQ request for fetching previous chats
2.
3.

What is the expected output?
Output should be off following order:
<iq id="IQRequestPubSubItems" to="someid" from="example.com" type="result">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<items node='some_node_id'>
<item id='55812E6AAF0EB'>
<entry xmlns="mcn:panel">
<body>New image</body>
<imagename>file.6</imagename>
<published jid="some_id" datetime="2013-05-09T05:30:18Z"/>
</item>

What do you see instead? (Please attach a debug enabled logcat)
<iq id="IQRequestPubSubItems" to="someid" from="example.com" type="result">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<items node='some_node_id'>
<item id='55812E6AAF0EB'>
<body>New image</body>
<imagename>file.6</imagename>
<file name="public-380" type="image/jpg"/>
</item>
<published xmlns="mcn:panel">
</published>

What version of aSmack / Android / Device do you use?
asmack6 on Android API 17

When checked on server they are sending it correctly. Also when I enabled debug 
on aSmack I see that it receives proper message but when I get the Packet in my 
Android app's PacketListener it gets broken.

Original issue reported on code.google.com by alt...@qburst.com on 10 May 2013 at 6:08