View Issue Details

IDProjectCategoryView StatusLast Update
289Composrpollspublic2011-10-10 14:51
ReporterGuest Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary289: polls: something is wrong
DescriptionWhen a user clicks on the link "view results", the button "vote" disappears and so you can't vote no more.

After that the following is in the database table "cms5_f_poll_votes" :

pv_poll_id | pv_member_id | pv_answer_id

44 | 20 | -1

The " -1 " is wrong.

When I deleted the row, the user can vote again.

AND NEXT:

Despite I ticked off "view results before the poll ends" every user can see the results before voting.

Something is wrong there I think.

Best regards
Falko
TagsNo tags attached.
Attach Tags
Attached Files
CNS_TOPIC_POLL_BUTTON.tpl (Attachment missing)
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2011-10-06 19:40

administrator   ~207

Hi,

This is actually as designed. If you view results, it will alert confirming you will "forfeit" your vote, asking if whether to proceed. This is because often people will see the results before voting for whatever is winning, to try and "fit in", i.e. skewing results.

I think the permission you're referring to is "View poll results before voting" (maybe something got lost in translation). That is also an Conversr polls permission, i.e. for polls in forum topics.

Guest

2011-10-07 14:34

reporter   ~208

Hey,

I have tested it again and no alert appeared.

So you are going to sleepwalk into the "trap" and can't vote no more.

Chris Graham

2011-10-07 14:36

administrator   ~209

Can you show me a URL I can test on your site at? Could have been a problem with language strings, and how the JS code is written.

If I need any passwords please email ([email protected])

Chris Graham

2011-10-07 15:01

administrator   ~210

I was getting mixed up... yes, forum polls did not have the confirm. I've attached a quick template change to implement that, which will be included in the next release.

Issue History

Date Modified Username Field Change