xwikisas / application-ideas

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

Last author is overwritten with XWikiGuest by guest users who vote the ideas from Recent Ideas Macro #39

Closed ilieandriuta closed 4 years ago

ilieandriuta commented 4 years ago

STEPS TO REPRODUCE

  1. Create some ideas
  2. Vote them with Admin and/or an user
  3. Go to a page and insert the 'Recent Ideas' Macro
  4. Logout
  5. As guest user, try to vote the ideas from the Macro 'Support/Opponent' icons
  6. Refresh the page and observe the 'Last author' on the Macro
  7. Go to Ideas Application home page and observe the 'Last author' of the voted ideas in the livetable

EXPECTED RESULTS

The last author on both the Macro and on the livetable is the last user who voted.

ACTUAL RESULTS

The last author on the Macro is 'XWikiGuest' (the link is leading to a page that doesn't exist) and on the Ideas Application home page's livetable the last author is 'Unknown User'.

Environment: Windows 10 Pro 64 bit, Chrome 79, Edge 79, using a local instance XWiki 11.10.3 on PostgreSQL 12

Ideas_guest_user

Ideas_Last_Author

ilieandriuta commented 4 years ago

Closing as duplicate to https://github.com/xwikisas/application-ideas/issues/35