Opened 8 years ago

Closed 7 years ago

Last modified 5 years ago

#8515 closed Uncategorized (fixed)

PLREGONField incorrecly validates REGON numbers

Reported by: Piotr Lewandowski <django@…> Owned by: nobody
Component: contrib.localflavor Version: master
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:

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@…> 8 years ago.

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by Piotr Lewandowski <django@…>

Attachment: regon-validation.patch added

comment:1 Changed 8 years ago by Piotr Lewandowski <django@…>

Cc: ubanus@… added
milestone: post-1.0
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

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

comment:2 Changed 8 years ago by (none)

milestone: post-1.0

Milestone post-1.0 deleted

comment:3 Changed 8 years ago by Jacob

milestone: 1.1
Triage Stage: UnreviewedAccepted

comment:4 Changed 7 years ago by Alex Gaynor

Resolution: fixed
Status: newclosed

Fixed in r10460.

comment:5 Changed 5 years ago by ubanus@…

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

comment:6 Changed 5 years ago by Jacob

milestone: 1.1

Milestone 1.1 deleted

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