#775: Can't create multiple "is a parent of" relations
------------------------+------------------------
  Reporter:  rjollos    |      Owner:  rjollos
      Type:  defect     |     Status:  accepted
  Priority:  major      |  Milestone:  Release 8
 Component:  relations  |    Version:
Resolution:             |   Keywords:  validation
------------------------+------------------------

Comment (by astaric):

 When the validator was written, parent relation was somewhat special. Two
 relations were not isparentof and ischildof, but parent and children
 (inverse of what are they now). This was consistent with the layout at the
 time (name on the relation on left, followed by all relations of the
 type).

 When relation types were changed, validator was not. It is checking
 whether there are existing relations with the same source and type, where
 it should be checking if there are existing relations with same type and
 destination. (source can point to many resources, but only one resource
 should point to destination with this type)

 If you have not started working on this, I can.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/775#comment:3>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker

Reply via email to