OOPS registering sprint or meeting using date format DD-M-YYYY
Bug #134063 reported by
Diogo Matsubara
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
j.c.sackett |
Bug Description
Steps to reproduce (using sample data):
1. Open http://
2. Fill in all required fields;
3. Fill in "Starting date and time": 15-5-2008
4. Fill in "Finishing date and time": 16-5-2008
5. OOPS-598S557 IntegrityError ERROR: new row for relation "sprint" violates check constraint "sprint_
Recently: OOPS-980S229, OOPS-980S233, OOPS-980S236
Related branches
lp:~jcsackett/launchpad/dumb-date-formats
- Benji York (community): Approve (code)
-
Diff: 129 lines (+85/-1)2 files modifiedlib/lp/app/widgets/date.py (+41/-1)
lib/lp/app/widgets/tests/test_datetime.py (+44/-0)
Changed in blueprint: | |
status: | New → Confirmed |
Changed in blueprint: | |
assignee: | nobody → jsk |
Changed in blueprint: | |
status: | Confirmed → In Progress |
Changed in blueprint: | |
assignee: | jsk → nobody |
Changed in blueprint: | |
milestone: | 1.1.10 → none |
description: | updated |
Changed in blueprint: | |
importance: | High → Low |
Changed in launchpad-foundations: | |
importance: | High → Low |
tags: | added: sprints |
Changed in launchpad: | |
importance: | Low → Critical |
Changed in launchpad: | |
assignee: | nobody → j.c.sackett (jcsackett) |
Changed in launchpad: | |
status: | Triaged → In Progress |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I seem to be wrong in my assumption that the cause of the bug is the date format: DD-M-YYYY dget.
This bug can also be reproduced using the same date and time for both steps 3 and 4 in the following format YYYY-MM-DD HH:MM:SS
A similar oops (OOPS-600A1612) can be seen in the sprint attendence form (i.e. $sprint/+attend). I suspect that the problem lies in the LocalDateTimeWi