Closed (fixed)
Project:
Pollfield
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
3 Nov 2009 at 21:48 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent
When you setup a pollfield the "starting votes count" allows you to put in non-numerical information without throwing an error or stopping submission. I put "4z" in the "starting votes count" field when creating a poll and the submission went through without an error. It did strip the string down to just the number 4.
Let's write some error code on that bit of content submission and halt the submission with a message if non-numeric data is entered into that field. Does that seem like the right way forward?
Comments
Comment #1
mario_prkos commentedYes, you are right. I am aware of this issue I will put some validation function.
Thank you for testing this module, it is very helpful. It is also important to achive good quality of module and good quality of drupal in general.
Comment #2
dddave commentedStill present. Although the current behavior is quite sane (only displaying numbers and stripping all the rest) a message would be nice. Or is this fixed in the latest dev?
Comment #3
nibblebot commentedstatus?
Comment #4
bryan kennedy commentedRaising priority on this one. Not yet fixed in the latest dev.
Comment #5
bryan kennedy commentedI just committed a change to the dev branch that should fix this issue. We need to consider the validation differently once we refactor the module further, but this address the issue from a user perspective now.