Item14831: Problem with multiple open star votings in VotePlugin

pencil
Priority: Normal
Current State: New
Released In: n/a
Target Release:
Applies To: Extension
Component: VotePlugin
Branches:
Reported By: BeatDoebeli
Waiting For:
Last Change By: BeatDoebeli

Problem with multiple open star votings in VotePlugin

What is the problem?

The VotePlugin isn't calculating the average correctly in multiple open votings. After more than one person has voted, if you repeatedly press the submit button without touching the stars, the average is changing.

Life Example

For a life example see http://wiki.doebe.li/Sandbox/VotingTest

Images of a miscalculation

1. First voter votes A:5, B:4 and C:3

vote1.jpg

2. Second voter votes A:1, B:1 and C:1

vote2.jpg

3. First voter reloads topic and presses OK without voting

Result: The average is miscalculated

vote3.jpg

 

ItemTemplate edit

Summary Problem with multiple open star votings in VotePlugin
ReportedBy BeatDoebeli
Codebase 2.1.6, 1.1.8
SVN Range
AppliesTo Extension
Component VotePlugin
Priority Normal
CurrentState New
WaitingFor
Checkins
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r1 - 26 Apr 2019, BeatDoebeli - This page was cached on 16 Jan 2020 - 10:58.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy