The REST SessionConfirmationNumber changes in the browser

Hi all

I have a problem with the SessionConfirmationNumber in a call from REST.

get the SessionConfirmationNumber for example offers this:
{"sessionConfirmationNumber":-8718803907797209210}

When I used this in the next call to retrieve, for example, totalCommerceItemCount, the browser has overflow and changes the number to 871880397797209000.

http://localhost.ATG/rest/model/ATG/Commerce/ShoppingCartActor/totalCommerceItemCount?_dynSessConf=-8718803907797209000 &...

No idea what to do in this case? If this number would be delivered as a STRING, the problem shouldn't appear anymore.


Thanks in advance.


Heiko

Why evrybody wants to disable the SessConfNumber?

It's so obviously a bug in the OC. Even the Oracle people must use a workaround/hack. The simplest is the JSON parsing and transformed the SessConfNumber into a STRING. Another option is to use XML instead of JSON. More effort would be to override the class offering the SessConfNumber and returns a STRING instead of a LONG.

Tags: Oracle Applications

Similar Questions

Maybe you are looking for