Open markpbaggett opened 6 months ago
When we remove and rebuild a fileset that is an OBJ on a PDF work a view error is occurring that is related to iiif_print.
OBJ
Here is an example where you can see this: 9f89d0f4-ad1f-43cf-8558-f0101a1cdb72
SoftServ QA: ✅
Fileset
Not sure how to test on staging so bumping forward.
This looks good. :tada:
Story
When we remove and rebuild a fileset that is an
OBJ
on a PDF work a view error is occurring that is related to iiif_print.Here is an example where you can see this: 9f89d0f4-ad1f-43cf-8558-f0101a1cdb72
Acceptance Criteria
Trace:
```log I, [2024-03-05T17:28:32.531856 #1] INFO -- : [fc8870020070cb30d91b5c436bdbc1ca] Rendered /usr/local/bundle/bundler/gems/iiif_print-5c5fa6880b3d/app/views/hyrax/file_sets/_show_actions.html.erb (1890.4ms) I, [2024-03-05T17:28:32.531991 #1] INFO -- : [fc8870020070cb30d91b5c436bdbc1ca] Rendered hyrax/file_sets/show.html.erb within layouts/hyrax/1_column (1894.5ms) I, [2024-03-05T17:28:32.532238 #1] INFO -- : [fc8870020070cb30d91b5c436bdbc1ca] Completed 500 Internal Server Error in 2085ms (ActiveRecord: 7.1ms) D, [2024-03-05T17:28:32.534870 #1] DEBUG -- : [fc8870020070cb30d91b5c436bdbc1ca] Account Load (0.6ms) SELECT "public"."accounts".* FROM "public"."accounts" WHERE "public"."accounts"."tenant" = $1 LIMIT $2 [["tenant", "public"], ["LIMIT", 1]] I, [2024-03-05T17:28:33.526010 #1] INFO -- : [fc8870020070cb30d91b5c436bdbc1ca] Sending event dbffa6e566dd4b11a206bb4e61d56008 to Sentry F, [2024-03-05T17:28:33.626072 #1] FATAL -- : [fc8870020070cb30d91b5c436bdbc1ca] 2024-03-05T17:28:33.626198286Z F, [2024-03-05T17:28:33.626141 #1] FATAL -- : [fc8870020070cb30d91b5c436bdbc1ca] ActionView::Template::Error (undefined local variable or method `iiif_print' for #<#Testing Instructions and Sample Files