Milestone dateexpected and release datereleased wrong type in db
Bug #326384 reported by
Edwin Grubbs
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
The Milestone.
Currently, the Milestone storm objects set dateexpected to a datetime.datetime object when retrieving a Milestone from the DB, but it sets it to a datetime.date object, when changing the date in code. This causes problems when sorting a list of milestones, since datetime.datetime and datetime.date objects cannot be compared.
Changed in launchpad-registry: | |
importance: | Undecided → Low |
status: | New → Triaged |
tags: | added: tech-debt |
To post a comment you must log in.
ProductRelease. datereleased is also the wrong type. Fixing this requires a migration script.