Closed ilieandriuta closed 3 years ago
@ilieandriuta where does the "anymore" come from? Did it worked before on Java 17? I don't think so, so it should be just "Proposal votes are not being recorded on JAVA 17".
@trrenty could you check if the issue still reproduces with your latest changes? Thanks.
@ilieandriuta where does the "anymore" come from? Did it worked before on Java 17? I don't think so, so it should be just "Proposal votes are not being recorded on JAVA 17".
Sorry, I was thinking that they are not being recorded as they used to be on earlier Java versions, but it makes sense to remove it. Thanks!
@mflorea @ilieandriuta It seems that after my changes, the error doesn't reproduce anymore. I tested it on Kubuntu 21.04, Chrome 91, XWiki 13.8 Jetty/HSQLDB, Java 17 build 17+35-LTS-2724.
Environment: Windows 10 Pro 64bit, Firefox 93, using an instance of XWiki 12.10.10 on Tomcat 9.0.54/ Oracle 19c (tested also on XWiki 13.8 Jetty/HSQLDB) with Polls Application (Pro) 2.0.4, Java 17 build 17+35-LTS-2724 from Oracle
STEPS TO REPRODUCE
EXPECTED RESULTS
The vote for respective proposal is saved, the bottom counter for respective proposal column changes, as well as 'Number of votes' counter.
ACTUAL RESULTS
Although the green message 'Saved' is displayed on the bottom of the page, the vote doesn't seem to be recorded. None of the counters change (even after page refresh) and moreover, on the Polls home LiveTable there is no Winner displayed for the respective poll.
The issue doesn't reproduce with JAVA 11.
Vote not recorded after save:
No winner displayed: