issues in class Party from the demographic package

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

Bug Description

The initializer lacks the argument parent and so does the superclass initializer.

Wouldn't be interesting to define a representation function for this class?

The invariants should be enforced:
Identities_valid: identities /= Void and then not identities.is_empty
Contacts_valid: contacts /= Void implies not contacts.is_empty

Reverse_relationships_validity: reverse_relationships /= Void implies (not
reverse_relationships.empty and then reverse_relationships.for_all(item | repository(“demographics”).all_party_relationships.has_object(item) and then repository(“demographics”).all_party_relationships.object(item).target = Current))
This invariant requires a demographic service.

Is_archetype_root: is_archetype_root

Related branches

Changed in oship:
importance: Undecided → High
affects: oship → oshippy
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.