Ticket #48 (defect)
Opened 7 years ago
Last modified 7 years ago
unitclass.identifiers should be strings, not property instances
Status: closed (fixed)
|Reported by:||fumanchu||Assigned to:||fumanchu|
|Cc:||Estimate (total hours):||1|
In 1.4, when subclassing, I will often modify the ID property like this:
class Thing(dejavu.Unit): ID = dejavu.UnitProperty(unicode) identifiers = (ID,)
If I forget to include the last line, then the identifiers list is silently broken, pointing to a UnitProperty? which no longer exists. If the "identifiers" tuple took names instead of property instances, this problem would go away. It would also make the storage layer code bit simpler.
03/07/06 23:42:04: Modified by fumanchu
- status changed from assigned to closed.
- resolution set to fixed.