Loading...
 
Skip to main content

clearing and removing surveys doesn't change users voting statistics : table tiki_user_votings

Status
Closed
Subject
clearing and removing surveys doesn't change users voting statistics : table tiki_user_votings
Version
2.x
3.x
Category
  • Consistency
Feature
Survey
Poll
Resolution status
Fixed or Solved
Submitted by
adren
Volunteered to solve
nyloth
Lastmod by
nyloth
Rating
(0)
Description

When someone clears the statistics on a given survey (or poll), the tiki_survey* tables are cleared accordingly but the statistics of the users vote are left.

It means that when someone wishes to "recycle" an existing survey by clearing the statistics, changes the questions (even adding new ones), then the users who have already answered to old survey cannot vote for the new "recycled" survey as if he/she already answered it.

The problem also exists when a survey or poll is deleted : lines in tiki_user_votings which shows who has voted on what are left which has clearly no consequence since the id should not be reuse.

Solution
Fixed in Trunk, revision 15075.
Importance
6
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1754
Created
Friday 09 May, 2008 22:08:09 UTC
by Unknown
LastModif
Friday 10 October, 2008 12:31:27 UTC


Show PHP error messages