Post Closed
142
Views
9
Comments
Getting Error while Reading Decimal and Integer from XMLTORecord when lenght = 0
Question

we are getting Un-marshal Error while Reading Decimal and Integer from XMLTORecord when lenght = 0


this was working Fast8 but it's not working in Fast10 while upgrading also tried outsystem cloud envronment with Fast 10 (it is working) but it is not working when we upgrdae from Fast8 to Fast10.

can you please let me know the reason?


Thanks,

Sid

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Siddaiah,

What are "Fast8" and "Fast10"? Are you referring to OutSystems Platform versions 8 and 10? If so, why are you calling them "Fast"?

That said, between version 8 and 10 there are major differences in how Lists are handled. I'd advise you to download and install the latest version of the XML Records Forge Component, one that's suitable for version 10.

UserImage.jpg
Siddaiah Boddu

Kilian Hekhuis wrote:

Hi Siddaiah,

What are "Fast8" and "Fast10"? Are you referring to OutSystems Platform versions 8 and 10? If so, why are you calling them "Fast"?

That said, between version 8 and 10 there are major differences in how Lists are handled. I'd advise you to download and install the latest version of the XML Records Forge Component, one that's suitable for version 10.

Hi Kilian,


Thank for your quick reply, am comparing out system 8 and 10. currently am using 10.0.303.0.

My XML:

<CommonOutput>
      <ModelScore/>
      <ModelVersion/>
      <ModelScoreCodes/>
      <EVSScore/>
      <EVSVersion/>
      <EVSScoreCodes/>
 </CommonOutput>

structure:




above xml and structure is working in outsystem 8 even when
ModelScore (Decimal) length =0 but not working in out system 10 while upgrading my code, if I change decimal to text it's working.

also I tried in personal outsystem cloud environment with 10 version (this works fine if decimal length =0)

I want understand why it's not working while upgrading Decimal, Integers if the length =0 from 8 to 10.

Siddu.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Siddu,

For me to understand right, you upgraded your Platform from version 8 to 10, and you just republished everything including the XML Records you had on version 8? If so, did you upgrade the XML Records component like I advised?

UserImage.jpg
Siddaiah Boddu

Kilian Hekhuis wrote:

Hi Siddu,

For me to understand right, you upgraded your Platform from version 8 to 10, and you just republished everything including the XML Records you had on version 8? If so, did you upgrade the XML Records component like I advised?

Yes, Updated.


2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Ok, and it still gives the error? That's indeed unexpected. But in your Personal Environment it's working ok?

UserImage.jpg
Siddaiah Boddu

Kilian Hekhuis wrote:

Ok, and it still gives the error? That's indeed unexpected. But in your Personal Environment it's working ok?


Yes. after changing decimal to text it is working then again converted back to decimal. but that way am not happy.

Please let me know the solution without changing decimal to text in structure if possible even when decimal length=0

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Can you share a simple eSpace OML that exhibits this problem? That could make it easier to track down the problem.

UserImage.jpg
Janarthanan Govindaraj

Kilian Hekhuis wrote:

Can you share a simple eSpace OML that exhibits this problem? That could make it easier to track down the problem.


Hi Kilian,


We are also upgrading Outsystem to 10 . We have scenario like jason file has decimal value as "" . how it can be parsed in Outsystem 10 .


Fee : ""   --> it should consider has "" value 0 or parsing error will be thrown.


Thanks

Janarthanan 

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Janarthanan,

Your question seems to have little to do with the question above, as the question is about XML, not JSON. Please start a new question.