prathyushreddylpr commented on PR #1516:
URL: https://github.com/apache/cxf/pull/1516#issuecomment-1811576497

   > > Yes but when the class is serialized to a string, the attributes does 
not follow any particular and when the string is compared with certain value it 
is causing the issue. For example, below are two serialized strings for two 
different runs:
   > 
   > Could you please point out where this serialized string is compared to 
another serialized strings? I have found none such places, and the order does 
not matter here as far as all attributes have the same values.
   
   The comparison is happening here: 
https://github.com/apache/cxf/blob/74069a140737603a0a59435de308401c4351a80b/rt/javascript/javascript-tests/src/test/resources/deserializationTests.js#L33
   
   <img width="756" alt="image" 
src="https://github.com/apache/cxf/assets/112648268/c93b52ff-a546-44fe-a6e3-229cb4fe52ce";>
   
   
   In the above code bean.getStringItem is expecting "bean1>stringItem". But 
serialized string contains two string items(example is provided in the above 
comment) and one of them contained the value "required=true"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to