Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix issue of calling private solr_document method
Prior to this commit, we had a private `#solr_document` method. This resulted in an error in the `Hyrax::Ability` as follows: ``` NoMethodError private method `solr_document' called for #<Hyrax::IiifAv::IiifFileSetPresenter:0x00007ff118124808> Did you mean? solr_document= ``` With this commit, I'm making public two methods that might cause issues being private. (And adding a test verifying the interface) Oh dear reviewer, were that I were able to duplicate the bug locally. I tried toggling on and off the feature flag. I also tried toggling the allow downloads. But to no avail. Alas, I cannot replicate but must instead rely on addressing the specific error. Related to: - #659 - https://scientist-inc.sentry.io/issues/4368889816/?environment=production&project=6707374&referrer=project-issue-stream
- Loading branch information