Ticket #1020 (closed Defect: fixed)
Deleting a parent type fails
Reported by: | jri | Owned by: | jri |
---|---|---|---|
Priority: | Major | Milestone: | Release 4.8.4 |
Component: | DeepaMehta Standard Distribution | Version: | 4.8.3 |
Keywords: | Cc: | dgf, Malte, JuergeN | |
Complexity: | 3 | Area: | |
Module: | deepamehta-core |
Description
Deleting a parent type fails if it has 3 or more child types.
The exception says there is an ambiguity problem with he "sequence":
Fetching sequence for type "dm4.contacts.person" failed (java.lang.RuntimeException) Reason: Ambiguity: there are 2 related associations (assocId=3834, assocTypeUri="dm4.core.sequence", myRoleTypeUri="dm4.core.predecessor", othersRoleTypeUri="dm4.core.successor", othersAssocTypeUri="null"), result=[...]
To narrow the problem:
If the parent type has less than 3 child types deleting the parent works properly.
If you delete the assoc defs (associations) manually until less than 3 remain, deleting the parent type works properly then!
The problem exists for a long while (at least since DM 4.6.1)
Change History
Note: See
TracTickets for help on using
tickets.