Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multi view state warning when searching #5445

Merged
merged 2 commits into from
Nov 30, 2022

Conversation

thomaslow
Copy link
Collaborator

Fixes #5444

Avoids Primefaces warning by checking whether a multi view state is available before clearing it.

@solth
Copy link
Member

solth commented Nov 29, 2022

Please rebase against master to fix broken Github CI builds!

@henning-gerhardt
Copy link
Collaborator

I can not review this pull request as I only noticed the messages in the catalina.out file and I don't know how to produce this messages.

@henning-gerhardt henning-gerhardt removed their request for review November 29, 2022 12:38
@thomaslow
Copy link
Collaborator Author

The message was triggered when a user visits the search result page (for the first time) after performing a search via the global search input. However, it would only appear once. A second visit (or search) should not have produced the warning message again. A logout/login should allow to trigger the message again.

Copy link
Collaborator

@henning-gerhardt henning-gerhardt left a comment

Choose a reason for hiding this comment

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

For the descriped way in #5445 (comment) the warning message did not appear anymore.

@solth solth merged commit 631e167 into kitodo:master Nov 30, 2022
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.

Multiview state warning
3 participants