Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Adding files to entity sets breaks file previews #3610

Open
tillprochaska opened this issue Feb 14, 2024 · 1 comment · May be fixed by #3679
Open

BUG: Adding files to entity sets breaks file previews #3610

tillprochaska opened this issue Feb 14, 2024 · 1 comment · May be fixed by #3679
Assignees
Labels
backend Issues related to Aleph’s backend, API, CLI etc. bug Things that should work, but don’t ui Issues related to Aleph’s frontend

Comments

@tillprochaska
Copy link
Contributor

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:

  1. Create an investigation
  2. Upload a PDF file
  3. Navigate to the PDF file preview
  4. Click the "Add to…" button in the top right corner of the screen.
  5. Add the file to a new list entity set.
  6. 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

@tillprochaska tillprochaska added bug Things that should work, but don’t ui Issues related to Aleph’s frontend backend Issues related to Aleph’s backend, API, CLI etc. labels Feb 14, 2024
@tillprochaska
Copy link
Contributor Author

Possibly related to #2034

@tillprochaska tillprochaska self-assigned this Mar 18, 2024
@tillprochaska tillprochaska linked a pull request Apr 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Issues related to Aleph’s backend, API, CLI etc. bug Things that should work, but don’t ui Issues related to Aleph’s frontend
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant