Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#8515 closed Uncategorized (fixed)

PLREGONField incorrecly validates REGON numbers

Reported by: Piotr Lewandowski <django@…> Owned by: nobody
Component: contrib.localflavor Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

PLREGONField incorrectly validates REGON numbers which can be only 9 or 14 digits long.

See http://www.stat.gov.pl/bip/389_117_ENG_HTML.htm and http://pl.wikipedia.org/wiki/REGON for details.

Attachments (1)

regon-validation.patch (3.8 KB ) - added by Piotr Lewandowski <django@…> 16 years ago.

Download all attachments as: .zip

Change History (7)

by Piotr Lewandowski <django@…>, 16 years ago

Attachment: regon-validation.patch added

comment:1 by Piotr Lewandowski <django@…>, 16 years ago

Cc: ubanus@… added
milestone: post-1.0

It's too late for this patch to be included before 1.0 due to string freeze.

comment:2 by (none), 16 years ago

milestone: post-1.0

Milestone post-1.0 deleted

comment:3 by Jacob, 16 years ago

milestone: 1.1
Triage Stage: UnreviewedAccepted

comment:4 by Alex Gaynor, 16 years ago

Resolution: fixed
Status: newclosed

Fixed in r10460.

comment:5 by ubanus@…, 14 years ago

Cc: ubanus@… removed
Easy pickings: unset
Severity: Normal
Type: Uncategorized

comment:6 by Jacob, 13 years ago

milestone: 1.1

Milestone 1.1 deleted

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