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
An error is raised having to do with the unescaped hyphen in al-Dīn
Steps to replicate
The link from honeybadger (see below) throws an error, but when I go to the catalog and do the author search, it succeeds. So this may be something specific to how the link was copy/pasted into facebook, rather than something on our end.
Impact of this bug
Users clicking on the link in facebook get an error.
regineheberlein
changed the title
[orangelight/production] NoMethodError: undefined method '-' for an instance of ActiveSupport::HashWithIndifferentAccess
[production] NoMethodError: undefined method '-' for an instance of ActiveSupport::HashWithIndifferentAccess
Jan 14, 2025
I believe this happens only in cases where there is a pivot facet configured. Certainly, commenting out our pivot facet allows this query to work
I believe there is a bug in Blacklight::SearchState::FilterField#permitted_params. When this is called for a pivot field as part of Blacklight::Parameters#permit_search_params, all the other facet fields suddenly disappear from from the permitted_params
Expected behavior
A link to a hyphenated author search coming in from facebook succeeds.
Actual behavior
An error is raised having to do with the unescaped hyphen in
al-Dīn
Steps to replicate
The link from honeybadger (see below) throws an error, but when I go to the catalog and do the author search, it succeeds. So this may be something specific to how the link was copy/pasted into facebook, rather than something on our end.
Impact of this bug
Users clicking on the link in facebook get an error.
Honeybadger link and code snippet, if applicable
https://app.honeybadger.io/projects/54399/faults/116259519/01JKTYJ7DVRQPGFKAFYEZ25464
Implementation notes, if any
This seems very similar to #4564
The text was updated successfully, but these errors were encountered: