Skip to content

[Port to dtq-dev] Issue 1354: add dc.relation.isreplacedby only when item is installed#1308

Open
kosarko wants to merge 1 commit intodataquest-dev:dtq-devfrom
ufal:backport-1356-to-dtq-dev
Open

[Port to dtq-dev] Issue 1354: add dc.relation.isreplacedby only when item is installed#1308
kosarko wants to merge 1 commit intodataquest-dev:dtq-devfrom
ufal:backport-1356-to-dtq-dev

Conversation

@kosarko
Copy link
Copy Markdown

@kosarko kosarko commented Apr 17, 2026

Port of ufal#1356 by @kuchtiak-ufal to dtq-dev.

…1356)

* Issue 1354: add dc.relation.isreplacedby only when item is installed

* set dc.relation.replaces on new item creation

* fixed JavaDoc

* fixed failing tests

* test if dc.relation.isreplacedby metadata are only added when new item version is installed

* use Context#reloadEntity rather than calling find method

* resolve Copilot comments

* removing unused field

* also removing the now unused import

---------

Co-authored-by: Ondřej Košarko <ko_ok@centrum.cz>
(cherry picked from commit 3e204e5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants