You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hyrax 5.0.0.rc2 defines RiiifFile < Riiif::File in app/models/concerns/hyrax/riiif_file.rb, which naturally breaks in production if riiif is not installed.
My guess is that any Hyrax application which uses the Hyrax install generator with the skip-riiif option will break on Hyrax 5.0.0.rc2.
Steps to reproduce the behavior
Create a Hyrax application with the skip-riiif option (do not install riiif)
Try to run the application (without autoloading enabled)
The application will fail, because app/models/concerns/hyrax/riiif_file.rb tries to subclass Riiif::File, which is not defined.
Workaround
Just define :—
moduleRiiifclassFileendend
—: in the non‐Riiif‐supporting application.
Acceptance Criteria/Expected Behavior
Hyrax does not require riiif be installed to run.
The text was updated successfully, but these errors were encountered:
Descriptive summary
Hyrax 5.0.0.rc2 defines
RiiifFile < Riiif::File
inapp/models/concerns/hyrax/riiif_file.rb
, which naturally breaks in production ifriiif
is not installed.My guess is that any Hyrax application which uses the Hyrax install generator with the
skip-riiif
option will break on Hyrax 5.0.0.rc2.Steps to reproduce the behavior
skip-riiif
option (do not installriiif
)app/models/concerns/hyrax/riiif_file.rb
tries to subclassRiiif::File
, which is not defined.Workaround
Just define :—
—: in the non‐Riiif‐supporting application.
Acceptance Criteria/Expected Behavior
riiif
be installed to run.The text was updated successfully, but these errors were encountered: