some issues in VersionedObject and IVersionedObject

Bug #625980 reported by Sergio Miranda Freire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OSHIPpy
In Progress
High
Unassigned

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.

Related branches

Changed in oship:
importance: Undecided → High
Changed in oship:
assignee: nobody → Eduardo César (xcesar)
Changed in oship:
status: New → In Progress
affects: oship → oshippy
Changed in oshippy:
assignee: Eduardo César (eduardo.cesar) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.