acdh-oeaw / arche-core

MIT License
0 stars 1 forks source link

PATCH resource metadata fails on pseudo duplicated relations #11

Closed zozlak closed 3 years ago

zozlak commented 3 years ago

In the scenario:

res1 id id1, id2 .
res2 prop id1, id2.

an error will be thrown as both res2 prop id1 and res2 prop id2 resolve to res2 prop res1.

This should be properly handled by silently discarding all the duplicates.

zozlak commented 3 years ago

Fixed by 17bbd9d7c8de1c8dbf87c887d0b2a1468513784a