FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Consistency check mixes up polls
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Consistency check mixes up polls [message #32314] Tue, 20 June 2006 13:32 Go to next message
nstorm is currently offline  nstorm   Russian Federation
Messages: 19
Registered: March 2005
Location: Russia, Rostov-on-Don
Karma: 0
Junior Member
Very old "bug". After running consistency check, poll options order are mixed. Don't know if this is a bug, but it confuses some people alot. Its kind old behavior, but searching this forum didn't revealed any previous discussions about it for me.
Re: Consistency check mixes up polls [message #32326 is a reply to message #32314] Tue, 20 June 2006 20:19 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
What version of the forum are you using, have not seen a report of a similar bug myself.

FUDforum Core Developer
Re: Consistency check mixes up polls [message #32355 is a reply to message #32326] Wed, 21 June 2006 20:00 Go to previous messageGo to next message
nstorm is currently offline  nstorm   Russian Federation
Messages: 19
Registered: March 2005
Location: Russia, Rostov-on-Don
Karma: 0
Junior Member
Ilia ÐÉÓÁÌ(Á) óÒÄ, 21 éÀÎÑ 2006 00:19

What version of the forum are you using, have not seen a report of a similar bug myself.

Always trying to use latest stable version. 2.7.5 atm, started from at least 2.6.11, and all versions was affected.

UPDATE: Tryed to replicate bug now. I created new topic, with poll. Running consistency check didn't mixed up results. But after I posted reply in this topic, with another poll, voted on both of them, and runned consistency check, options on first post poll became reversed. I've added some more polls and replys, and runned consistency check. First poll reversed back to original order, and second poll reversed to backward order. Very weird. I guess if you edit poll later, it will afect it in more complicated way, rather what simply reversing it.

[Updated on: Wed, 21 June 2006 20:13]

Report message to a moderator

Re: Consistency check mixes up polls [message #32451 is a reply to message #32355] Fri, 30 June 2006 00:18 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I've tried to replicate the problem but so far was unable to do so. Did the poll this problem happened one had >1 vote?

FUDforum Core Developer
Re: Consistency check mixes up polls [message #32512 is a reply to message #32314] Thu, 06 July 2006 07:17 Go to previous messageGo to next message
nstorm is currently offline  nstorm   Russian Federation
Messages: 19
Registered: March 2005
Location: Russia, Rostov-on-Don
Karma: 0
Junior Member
ãÉÔÁÔÁ:

voted on both of them

So, yes, both polls had 1 vote cast.
I've tried to replicate it again now. Here is what I've done:

1. Created new topic without vote. (I don't think that creating vote from scratch or edit affects it).
2. Edited first post to add a vote with label 'test', and added poll options 4, 3, 2, 1 (so they come in order 1-1, 2-2, 3-3, 4-4).
3. Posted a reply with poll, named 'test2', and same poll options.
4. Posted reply without poll
5. Posted another reply without poll.
6. Voted on option 2-2 on first poll, named 'test'
7. Voted on option 3-3 on second poll, named 'test2'

--- At this time both polls are in correct order ---
6. Runned consistency check.
7. Refreshed test topic.

--- Now both polls are reversed. ---
First one, named 'test' are in this order:
1. 3 0 / 0%
2. 2 1 / 100%
3. 1 0 / 0%
4. 4 0 / 0%

Second one, named 'test2' are in this order:
1. 4 0 / 0%
2. 3 1 / 100%
3. 2 0 / 0%
4. 1 0 / 0%

--- Now to test further I'm doing the following: ---
1. Posted reply without poll
2. Runned consitency check
3. Posted reply with poll, named 'test3', and with 3 poll options: 3, 2, 1 (e.g. 1-1, 2-2, 3-3). Didn't voted on anything.

--- Polls orders didn't changed at this moment, i.e. they are in same mixed order as above ---

4. Runned consitency check
--- Now the polls are mixed again, cept 'test2', which keept the same reversed order ---
All of the polls are in reverse order now. 'test' are in same reversed order as 'test2':
1. 4 0 / 0%
2. 3 0 / 0%
3. 2 1 / 100%
4. 1 0 / 0%

'test3' are in reversed order:
1. 3
2. 2
3. 1
(no percents, coz no votes cast)

[Updated on: Thu, 06 July 2006 07:24]

Report message to a moderator

Re: Consistency check mixes up polls [message #32523 is a reply to message #32512] Thu, 06 July 2006 23:03 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Try this patch:
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=11510


FUDforum Core Developer
Re: Consistency check mixes up polls [message #32531 is a reply to message #32314] Fri, 07 July 2006 11:13 Go to previous message
nstorm is currently offline  nstorm   Russian Federation
Messages: 19
Registered: March 2005
Location: Russia, Rostov-on-Don
Karma: 0
Junior Member
Seems that this has fixed the issue. Thanks!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Replacement and Censorship system works in reverse too
Next Topic: Message navigator doesn't translate FUDcode
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 02 09:21:39 GMT 2024

Total time taken to generate the page: 0.02481 seconds