Skip to content

ClausePresenter: don't attempt to call #display_label on a non-existant field configuration#3442

Open
sandbergja wants to merge 1 commit intomainfrom
i3441-error-in-clause-presenter
Open

ClausePresenter: don't attempt to call #display_label on a non-existant field configuration#3442
sandbergja wants to merge 1 commit intomainfrom
i3441-error-in-clause-presenter

Conversation

@sandbergja
Copy link
Copy Markdown
Contributor

closes #3441

sandbergja added a commit to pulibrary/orangelight that referenced this pull request Nov 11, 2024
…n-existant field configuration

This fixes an error that appeared when a user specified a search field that
does not exist.  It is essentially the same as upstream fix projectblacklight/blacklight#3442,
so if that is accepted and we start using a Blacklight release that includes
it, we can remove our customized version.
kevinreiss pushed a commit to pulibrary/orangelight that referenced this pull request Nov 11, 2024
…n-existant field configuration (#4559)

This fixes an error that appeared when a user specified a search field that
does not exist.  It is essentially the same as upstream fix projectblacklight/blacklight#3442,
so if that is accepted and we start using a Blacklight release that includes
it, we can remove our customized version.
Copy link
Copy Markdown
Member

@jcoyne jcoyne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This handles the failure silently, but shouldn't this result in a 401 Bad Request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ClausePresenter throws a NoMethodError when user tries to search a non-existant field

2 participants