Code

Opened 6 years ago

Closed 5 years ago

Last modified 3 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@…> 6 years ago.

Download all attachments as: .zip

Change History (7)

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

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

  • Cc ubanus@… added
  • milestone set to 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 5 years ago by anonymous

  • milestone post-1.0 deleted

Milestone post-1.0 deleted

comment:3 Changed 5 years ago by jacob

  • milestone set to 1.1
  • Triage Stage changed from Unreviewed to Accepted

comment:4 Changed 5 years ago by Alex

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r10460.

comment:5 Changed 3 years ago by ubanus@…

  • Cc ubanus@… removed
  • Easy pickings unset
  • Severity set to Normal
  • Type set to Uncategorized

comment:6 Changed 3 years ago by jacob

  • milestone 1.1 deleted

Milestone 1.1 deleted

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.