IRevision and Revision do not match required and notNull.
Bug #358296 reported by
Henning Eggers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Looking at IRevision and its implementation Revsion I found that more fields are marked as "notNull=True" in the implementation than are marked as "required=True" in the interface. I would have thought that these should match.
IRevision required=True:
date_created, revision_date, karma_allocated
Revision notNull=True:
date_created, log_body, revision_author, revision_id, revision_date, karma_allocated
I stumbled onto this when I wanted to access revision_
description: | updated |
Changed in launchpad-bazaar: | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: cleanup |
Changed in launchpad-code: | |
milestone: | 2.2.7 → 2.2.9 |
Changed in launchpad-code: | |
milestone: | 3.0 → 3.1.10 |
Changed in launchpad-code: | |
milestone: | 3.1.10 → none |
Changed in launchpad: | |
importance: | Medium → Low |
To post a comment you must log in.
Trivial fix for someone.