scientist-softserv / louisville-hyku

Other
0 stars 0 forks source link

[3] Bug: Clicking into work causes 500 error #137

Closed orangewolf closed 1 year ago

orangewolf commented 1 year ago

On staging, I manually created an Image: http://lv-hyku-staging.notch8.cloud/dashboard/my/works?locale=en

When a work of any visibility is first uploaded, its work show page can be viewed. However, as the upload finishes processing, the work show page is no longer viewable and returns a 500 error page.

Relevant Sentry links:
https://sentry.notch8.com/sentry/louisville/issues/138994/
https://sentry.notch8.com/sentry/louisville/issues/139009/
https://sentry.notch8.com/sentry/louisville/issues/139010/

Image

Image

Acceptance Criteria

orangewolf commented 1 year ago

Related Merge Requests

Delete _pdf.html.erb

orangewolf commented 1 year ago

Shana January 2022

Dev Notes: re: #display_media_download_link?(file_set: file_set) == undefined method is defined in hyrax file_set_helper: https://github.com/samvera/hyrax/search?q=display_media_download_link which gets included in helpers/hyrax_helpers.rb via https://github.com/samvera/hyrax/blob/328b52d810084e9e9efc2cdaf158e3625dbca6b1/app/helpers/hyrax/hyrax_helper_behavior.rb For some reason, still evaluated as undefined though.

orangewolf commented 1 year ago

Summer February 2022

Tested on staging - I am able to click into a work without getting a 500 error

Notch8 QA: Passed

orangewolf commented 1 year ago

Rachel February 2022

I am too but I don't remember this bug existing before - maybe it was just an issue on the sandbox?