Describe the bug
My model has two relation types, with same relation name, but involving different entities:
<type>
<leftType>Publication</leftType>
<rightType>Person</rightType>
<leftwardType>isAuthorOfPublication</leftwardType>
<rightwardType>isPublicationOfAuthor</rightwardType>
<leftCardinality>
<min>0</min>
</leftCardinality>
<rightCardinality>
<min>0</min>
</rightCardinality>
</type>
<type>
<leftType>Publication</leftType>
<rightType>OrgUnit</rightType>
<leftwardType>isAuthorOfPublication</leftwardType>
<rightwardType>isPublicationOfAuthor</rightwardType>
<leftCardinality>
<min>0</min>
</leftCardinality>
<rightCardinality>
<min>0</min>
</rightCardinality>
</type>
But when I try to associate a Person as an author, that Person, will be shown simultaneously as Authors (persons) relation and Authors (organizational units)
To Reproduce
Steps to reproduce the behavior:
- You can use
/dspace/config/entities/openaire4-relationships.xml as your model
- And set
dspace.entity.type = Publication to any existing Item
- At edit item
Relationships separator, use lookup to associate an author
- After you added the relations to that entity, strange associations will be shown

And if you refresh the page, you will get 2 associations:

It seems an issue with Relationships separator, because item page is shown as expected.
Expected behavior
I was expecting to have only one association, or to be shown only one Authors (persons) relation.
Describe the bug
My model has two relation types, with same relation name, but involving different entities:
But when I try to associate a Person as an author, that Person, will be shown simultaneously as
Authors (persons)relation andAuthors (organizational units)To Reproduce
Steps to reproduce the behavior:
/dspace/config/entities/openaire4-relationships.xmlas your modeldspace.entity.type = Publicationto any existing ItemRelationshipsseparator, use lookup to associate an authorAnd if you refresh the page, you will get 2 associations:

It seems an issue with Relationships separator, because item page is shown as expected.
Expected behavior
I was expecting to have only one association, or to be shown only one
Authors (persons)relation.