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

depositing embargoed work with PDFs gives Valkyire::Persistence::StaleObjectError in sirenia #6899

Open
rjkati opened this issue Sep 10, 2024 · 0 comments

Comments

@rjkati
Copy link

rjkati commented Sep 10, 2024

Descriptive summary

In Sirenia, depositing an embargoed work with a PDF generates a staleobjecterror.

Steps to reproduce the behavior in User Interface (UI)

Note: I have only been able to get this error to appear consistently in Firefox and only when the PDF is set as the representative media/thumbnail

  1. As a non-admin user go to Dashboard -> Works -> Add New Work
  2. fill out the required fields
  3. Click on the Files tab and select 3 files, at least one of which must be a PDF. The PDF must appear first on the Files tab to be selected as the representative media
  4. in the Visibility menu, select Embargo and click Save
  5. Observe error message
    stale_error

Actual behavior (include screenshots if available)

Depositing an embargoed work with multiple files (one of which is a PDF) generates a staleobjecterror message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Ready for Dev/Doc
Development

No branches or pull requests

1 participant