Uploaded image for project: 'XPoll Doodle Application'
  1. XPoll Doodle Application
  2. XDOODLE-43

The winner is not properly updated in the Polls Livetable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.6.6
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 10 Pro 64 bit, Edge 16, Firefox 59, IE11, Chrome 66, using a local instance of XWiki 10.2 on PostgreSQL 10
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Login as Admin or as user
      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. Observe the Winner in the Polls Livetable
      9. Edit the Poll
      10. Remove the previously voted proposal (e.g. Proposal2)
      11. Click 'Save & View'
      12. Observe the Winner in the Polls Livetable

      EXPECTED RESULTS

      In the Livetable is displayed '-', as there is no winner at the moment for this poll (the previous winner - 'Proposal2' was removed).

      ACTUAL RESULTS

      In the Polls Livetable, the previous winner ('Proposal2') is still displayed even after page refresh, although it was removed from the available proposals. However, if another remaining proposal is voted, the Livetable winner is updated.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              iandriuta Ilie Andriuta
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: