Opened 14 years ago
Closed 14 years ago
#300 closed enhancement (fixed)
Allow non-standard personal numbers
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | Reggie v1.1 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description (last modified by )
The Personal number is usually a swedish personnummer. But there are exceptions when a person is not a swedish citizen. See http://owaspsweden.blogspot.com/2009/10/dds-programmera-med-personnummer-del-2.html
Reggie should display a warning instead of an error when an "invalid" personal number is encountered. The automatic forwarding to step 2 should not happen. The user must click on the "Next" button to verify that the personal number should be used as is.
Change History (5)
comment:1 by , 14 years ago
Description: | modified (diff) |
---|
comment:2 by , 14 years ago
Status: | new → assigned |
---|
comment:3 by , 14 years ago
comment:4 by , 14 years ago
Summary: | Allow invalid personal numbers → Allow non-standard personal numbers |
---|
comment:5 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
After some more investigations it seems like there are three main types of numbers:
So, in the code, the validation procedure goes like this (pnr is short for personal number):