xwikisas / application-xpoll

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

After a user votes, in History tab the editor is always the Admin. #35

Closed oanalavinia closed 5 years ago

oanalavinia commented 5 years ago

Steps to reproduce

  1. Login as a different user than admin
  2. Create a new poll
  3. Add some Proposals (e.g. Proposal1,Proposal2,Proposal3)
  4. Set Status to 'Active'
  5. Click 'Save & View'
  6. Click to vote a proposal (e.g. Proposal2)
  7. Click 'Save'
  8. Refresh the page
  9. Observe 'History' tab

Expected result

The last version editor is the current user, with witch you have voted.

Actual result

The last version editor is the Admin.

admin_vote