Auto-merge on open document in curation mode
UWinch opened this issue · comments
Describe the bug
Starting with INCEpTION 32.0, there is a new open document dialog on the annotation page when the page has previously been set to curation mode via sidebar. If I open a document this way, the annotation should be auto-merged (when opening the document for the first time in curation mode). However, this does not happen currently.
To Reproduce
Steps to reproduce the behavior:
- Have a project with some documents that have been annotated by two annotators and finished.
- Go to the annotation page and start the curation via sidebar.
- Leave for e.g. the dashboard.
- Then click on annotation again and open a document that has not been opened before.
- Check that annotations which both annotators agree on have falsely not been merged into the document.
Expected behavior
If I open a document in curation mode for the first time, I would expect that annotations that annotators agree on to be merged into the curation document automatically.
Please complete the following information:
- Version and build ID: 32.0
- OS: Linux
- Browser: Chrome
To do
- When resetting a curation document e.g. via the monitoring page, the state of the source document is reset, but the curation CAS is not deleted. Since, auto-merge does not check the state but rather if a curation CAS exists, auto-merge will not trigger in such a case. The proper solution here is to delete the curation CAS as part of the reset.