xwikisas / application-ideas

Suggest ideas and vote for them
0 stars 5 forks source link

Voting buttons are not updating in realtime #5

Closed ilieandriuta closed 6 years ago

ilieandriuta commented 6 years ago

STEPS TO REPRODUCE

  1. Click on Ideas Application
  2. Click 'Add new entry'
  3. Fill an entry name
  4. Fill the required fields
  5. Click 'Save & View'
  6. On the idea's page, click on voting buttons from 'Supporters'/'Opponents' fields

EXPECTED RESULTS

The number of votes on the buttons from 'Supporters'/'Opponents' fields are updated when clicked on them (corresponding to each vote/un-vote action).

ACTUAL RESULTS

The number displayed on the voting buttons from 'Supporters'/'Opponents' fields are not updating after each click, only the numbers from the smaller voting buttons (from 'VOTES' section, above) update. However, if the page is refreshed, the number on the buttons is displayed correctly.

This issue was also created in JIRA.

Environment: Windows 10 Pro 64 bit, Chrome 67, using a local instance of XWiki 10.5 on PostgreSQL 10

ideas_buttons