xwikisas / application-xpoll

Simple poll application, Doodle like
0 stars 6 forks source link

Issue95 #96

Closed trrenty closed 2 years ago

trrenty commented 2 years ago

Added a Vote model to the API and made the necessary changes for it to be processed by and sent to the API.

Added a functional test to verify that the voting works properly. This way, I discovered a problem with the decoding of the parameters received by the REST endpoint. The issue is presented here in more detail. The issue is fixed in later versions of XWiki, but not in 11.10, so I had to copy the solution into the code.