← Back to team overview

oshippy-dev team mailing list archive

[Bug 625976] Re: some issues in OriginalVersion and IOriginalVersion

 

** Branch linked: lp:oshippy/1.0

-- 
You received this bug notification because you are a member of OSHIPpy
Developers, which is subscribed to OSHIPpy.
https://bugs.launchpad.net/bugs/625976

Title:
  some issues in OriginalVersion and IOriginalVersion

Status in Open Source Health Information Platform - Python:
  In Progress

Bug description:
  uid and precedingVersionUid are inherited from Version. So they do not
  need to be defined in IOriginalVersion.


  isMerged is not implemented.


  The invariants below are not enforced:

  Attestations_valid: attestations /= Void implies not
  attestations.is_empty

  Is_merged_validity: other_input_version_ids = Void xor is_merged

  Other_input_version_uids_valid: other_input_version_uids /= Void
  implies not other_input_version_uids.is_empty


  Maybe it would be interesting to have a representation function for
  this class.