Ticket #329 (new defect) — at Initial Version
Bad dates cause exception on Gov form
Reported by: | dread | Owned by: | rgrp |
---|---|---|---|
Priority: | blocker | Milestone: | v1.1 |
Component: | ckan | Keywords: | |
Cc: | Repository: | ||
Theme: |
Description
Reproduction
Using the government form, create a new package with name 'test' and date released of '23/5/0210'. The result is a 500 error and 'Server Error' message.
Affects all versions of CKAN.
Why its happening
The dates module is raising an exception on the invalid date when saving the date, which is not being caught. The exception should have been raised only during the earlier 'validation' step and that would be caught.
Note: See
TracTickets for help on using
tickets.