multiplicity on custom link types is not checked on linked workitem
Hello,
We developed a custom link type plugin and create a link type in the plugin.xml:
Note the different multiplicity on source and target endpoint.
So, when i work on workitem "a" and link a second workitem "b", RTC automatically removes the first link to a workitem "a". [0..1]
But when i work on two different workitems "b" and link the exact same workitem "a", i end up having a workitem a with two linked workitem "b", which should not be possible.
It seems that RTC does not check whether the linked workitem already has a link of that type.
The expected behavior is that RTC shows an error message or that the old link is overwritten.
It would be nice to have some comments on this issue. I want to assure that our implementation and understanding is correct before opening a bug.