Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#9259 closed (fixed)

Failing case in spanish localflavor validator

Reported by: Marc Garcia Owned by: nobody
Component: contrib.localflavor Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

There is a special case that is not behaving as expected when validated by ESIdentityCardNumberField field of the spanish localflavor.

The problem is when validating valid cif number P2907500I, it raises a validation error due to a bug in the code.

Attachments (1)

9259.diff (1.9 KB ) - added by Marc Garcia 16 years ago.
Fix and tests

Download all attachments as: .zip

Change History (3)

by Marc Garcia, 16 years ago

Attachment: 9259.diff added

Fix and tests

comment:1 by Malcolm Tredinnick, 16 years ago

Resolution: fixed
Status: newclosed

(In [9129]) Fixed #9259 -- Fixed a validation error for Spanish identity card numbers.
Patch from Marc Garcia.

comment:2 by Malcolm Tredinnick, 16 years ago

(In [9130]) [1.0.X] Fixed #9259 -- Fixed a validation error for Spanish identity card numbers.
Patch from Marc Garcia.

Backport of r9129 from trunk.

Note: See TracTickets for help on using tickets.
Back to Top