Opened 18 years ago

Closed 18 years ago

Last modified 15 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@…> 18 years ago.

Download all attachments as: .zip

Change History (7)

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

Attachment: regon-validation.patch​ added

comment:1 by Piotr Lewandowski <django@…>, 18 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), 18 years ago

milestone: post-1.0

Milestone post-1.0 deleted

comment:3 by Jacob, 18 years ago

milestone: → 1.1
Triage Stage: Unreviewed → Accepted

comment:4 by Alex Gaynor, 18 years ago

Resolution: → fixed
Status: new → closed

Fixed in r10460.

comment:5 by ubanus@…, 15 years ago

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

comment:6 by Jacob, 15 years ago

milestone: 1.1

Milestone 1.1 deleted

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