oshippy-dev team mailing list archive
-
oshippy-dev team
-
Mailing list archive
-
Message #00433
[Bug 625980] Re: some issues in VersionedObject and IVersionedObject
** Changed in: oshippy
Assignee: Eduardo César (eduardo.cesar) => (unassigned)
--
You received this bug notification because you are a member of OSHIPpy
Developers, which is subscribed to OSHIPpy.
https://bugs.launchpad.net/bugs/625980
Title:
some issues in VersionedObject and IVersionedObject
Status in Open Source Health Information Platform - Python:
In Progress
Bug description:
All methods ending in Valid in IVersionedObject are not methods but invariants.
Almost all its methods are not implemented.
The invariants below are not enforced:
version_count_valid: version_count >= 0
all_version_ids_valid: all_version_ids /= Void and then
all_version_ids.count = version_count
all_versions_valid: all_versions /= Void and then all_versions.count =
version_count
latest_version_valid: version_count > 0 implies latest_version /= Void
Maybe it would be interesting to have a representation function for
this class.
To manage notifications about this bug go to:
https://bugs.launchpad.net/oshippy/+bug/625980/+subscriptions