halalaninitiative / halalan

Free and open-source voting system
Other
7 stars 13 forks source link

Inconsistency in field length validation #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
(From Kx Esporlas)

What steps will reproduce the problem?
1. Go to Candidates tab
2. Add a new candidate
3. Populate First Name and Last Name field until maximum field length

4. Go to Voters tab
5. Add a new voter
6. Populate First Name and Last Name field until maximum field length

What is the expected output? What do you see instead?

Expected: Same field length validation exists for each respective fields.

Actual: There is a difference in field length validation.

Under Voters tab:
Username field on Voters tab appears to have a longer field length validation 
(63) than First Name and Last Name. In reality, this is expected to be shorter.

Last Name - 31x
First Name - 63x
Username - 63x

Suggestion:
Last Name - 63x
First Name - 63x
Username - 31x
- same for First Name and Last Name when adding a Candidate.

Original issue reported on code.google.com by daru...@gmail.com on 6 Jan 2011 at 11:39

GoogleCodeExporter commented 9 years ago
This will be done in the ongoing DB update.

Original comment by waldemar...@gmail.com on 29 Mar 2012 at 4:37

GoogleCodeExporter commented 9 years ago
Done in Revision: c7ba301707e0.

Original comment by waldemar...@gmail.com on 31 Mar 2012 at 4:28

GoogleCodeExporter commented 9 years ago
Trying out automatic linking to revision.

revision c7ba301707e0

Original comment by waldemar...@gmail.com on 31 Mar 2012 at 5:26