[jira] [Updated] (WW-5118) OGNL long conversion
[ https://issues.apache.org/jira/browse/WW-5118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-5118: -- Fix Version/s: 2.5.27 > OGNL long conversion > > > Key: WW-5118 > URL: https://issues.apache.org/jira/browse/WW-5118 > Project: Struts 2 > Issue Type: Task >Reporter: Aleksandr Mashchenko >Priority: Major > Fix For: 2.5.27 > > > Found on StackOverflow - > https://stackoverflow.com/questions/66138007/struts-ognl-long-overflow. > Long in action 403184100337478L and 403184100337292L, are equal when > comparing them in JSP. > Guess, there is some issue converting long to double. > Can we do something about this? -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (WW-5118) OGNL long conversion
[ https://issues.apache.org/jira/browse/WW-5118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17297845#comment-17297845 ] Lukasz Lenart commented on WW-5118: --- Nice catch, we can try - feel free to open a PR against OGNL > OGNL long conversion > > > Key: WW-5118 > URL: https://issues.apache.org/jira/browse/WW-5118 > Project: Struts 2 > Issue Type: Task >Reporter: Aleksandr Mashchenko >Priority: Major > Fix For: 2.5.27 > > > Found on StackOverflow - > https://stackoverflow.com/questions/66138007/struts-ognl-long-overflow. > Long in action 403184100337478L and 403184100337292L, are equal when > comparing them in JSP. > Guess, there is some issue converting long to double. > Can we do something about this? -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (WW-5118) OGNL long conversion
[ https://issues.apache.org/jira/browse/WW-5118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17297699#comment-17297699 ] Aleksandr Mashchenko commented on WW-5118: -- Think I've found a culprit here - https://github.com/jkuhnert/ognl/blob/703059882a3d6e55ffd36dd9d1722496d6cd853c/src/main/java/ognl/OgnlOps.java#L816 [~lukaszlenart] Maybe [isEqual|https://github.com/jkuhnert/ognl/blob/703059882a3d6e55ffd36dd9d1722496d6cd853c/src/main/java/ognl/OgnlOps.java#L129] can be used directly in here too? > OGNL long conversion > > > Key: WW-5118 > URL: https://issues.apache.org/jira/browse/WW-5118 > Project: Struts 2 > Issue Type: Task >Reporter: Aleksandr Mashchenko >Priority: Major > > Found on StackOverflow - > https://stackoverflow.com/questions/66138007/struts-ognl-long-overflow. > Long in action 403184100337478L and 403184100337292L, are equal when > comparing them in JSP. > Guess, there is some issue converting long to double. > Can we do something about this? -- This message was sent by Atlassian Jira (v8.3.4#803005)