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

Creating works with files attached in Sirenia generates ObjectNotFoundError message #6872

Closed
rjkati opened this issue Aug 6, 2024 · 2 comments

Comments

@rjkati
Copy link

rjkati commented Aug 6, 2024

Descriptive summary

When creating works in Sirenia which have files attached, I receive an ObjectNotFoundError message on save. I do not receive this message if I deposit a work without a file.

Steps to reproduce the behavior in User Interface (UI)

  1. Log into a local build running Sirenia
  2. Navigate to Dashboard -> Works -> Add New Work
  3. Select a work type. It does not seem to matter which you choose.
  4. Fill out the required fields and add a file
  5. Check the Deposit Agreement and click Save
  6. Observe error message.

object_not_found_sirenia

Note that if you reload the page after seeing the error message, the work and files will display. If you selected a visibility other than Private in Step 4 or 5, only the work will reflect the selected visibility and the files will be private which may be related to #6863

If you follow the steps above but do not add a file, the error message will not display.

Actual behavior (include screenshots if available)

Saving a new work with a file attached generates an ObjectNotFoundError.

Acceptance Criteria/Expected Behavior

Saving a new work with a file attached should not generate an error and the work and fileset should be available with the selected visibility settings.

Related work

#6863

@rjkati
Copy link
Author

rjkati commented Aug 7, 2024

This issue does not occur on dev.nurax or pg.nurax

@rjkati
Copy link
Author

rjkati commented Sep 9, 2024

This works while running the hyrax-fedora-fix branch locally. I can deposit both a PDF and image work without seeing an error message and derivatives generate as expected.

@rjkati rjkati closed this as completed Sep 9, 2024
@github-project-automation github-project-automation bot moved this from QA to Done in Hyrax-Fedora 6 Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant