BUG: Adding files to entity sets breaks file previews
tillprochaska opened this issue · comments
Describe the bug
Adding a document to an entity set (e.g. a list or a network diagram) breaks file previews.
To Reproduce
Steps to reproduce the behavior:
- Create an investigation
- Upload a PDF file
- Navigate to the PDF file preview
- Click the "Add to…" button in the top right corner of the screen.
- Add the file to a new list entity set.
- Navigate back to the PDF file preview.
Expected behavior
Adding files to entity sets is actually not supported in Aleph right now. Aleph should not display a button to add files to entity sets and sending an API request to add a file entity to an entity set should fail.
Aleph version
3.15.5
Possibly related to #2034