Django

Code

Ticket #9259 (closed: fixed)

Opened 2 months ago

Last modified 2 months ago

Failing case in spanish localflavor validator

Reported by: garcia_marc Assigned to: nobody
Milestone: Component: django.contrib.localflavor
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation:
Needs tests: Patch needs improvement:

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

9259.diff (1.9 kB) - added by garcia_marc on 10/01/08 05:30:16.
Fix and tests

Change History

10/01/08 05:30:16 changed by garcia_marc

  • attachment 9259.diff added.

Fix and tests

10/05/08 00:59:04 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

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

10/05/08 01:00:56 changed by mtredinnick

(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.


Add/Change #9259 (Failing case in spanish localflavor validator)




Change Properties
Action