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

[BUG] Drupal 10.3 ajax errors that session is not set. #51

Open
rosiel opened this issue Jul 2, 2024 · 0 comments
Open

[BUG] Drupal 10.3 ajax errors that session is not set. #51

rosiel opened this issue Jul 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rosiel
Copy link
Member

rosiel commented Jul 2, 2024

What steps does it take to reproduce the issue?

When does this issue occur?

When searching using the advanced search box.

Which page does it occur on?

The main search page or any search collection page - i.e. any page that has the advanced search block.

What happens?

A drupal banner appears that "Oops, something went wrong. Check your browser's developer console for more details."

The browser console bears this (with un-compressed javascript):

`Uncaught
Object { message: '\nAn AJAX HTTP error occurred.\nHTTP Result Code: 400\nDebugging information follows.\nPath: /islandora-advanced-search-ajax-blocks\nStatusText: error\nResponseText: {"message":"Session has not been set."}', name: "AjaxError", stack: "@https://islandora.dev/sites/default/files/js/js_Co98PbH4NwIvdiXThx6fgZzYpMDWEpB_WABaxsQe604.js?scope=footer&delta=0&language=en&theme=olivero&include=eJx9j1ESgyAMRC-EcIaexIkxaloEBoJ6_CpKPzqOP4TwdjcBvRPaJIM1fcwBrMbfS2PZfZJCH6lCQOGFClADIEmq5Oz0wrSmBt6w3fPD2azcjyRVkPwge-LMoorblFOXDPHedhDNVRX0M7v26tpEEHEyZ9m1-RDmqPDpU7dRdYCWSPSA9OQXiryHOflfTlNCCPQ6zKrjsQ0cyNTLFx5ljG0:184:2411\n@https://islandora.dev/sites/default/files/js/js_Co98PbH4NwIvdiXThx6fgZzYpMDWEpB_WABaxsQe604.js?scope=footer&delta=0&language=en&theme=olivero&include=eJx9j1ESgyAMRC-EcIaexIkxaloEBoJ6_CpKPzqOP4TwdjcBvRPaJIM1fcwBrMbfS2PZfZJCH6lCQOGFClADIEmq5Oz0wrSmBt6w3fPD2azcjyRVkPwge-LMoorblFOXDPHedhDNVRX0M7v26tpEEHEyZ9m1-RDmqPDpU7dRdYCWSPSA9OQXiryHOflfTlNCCPQ6zKrjsQ0cyNTLFx5ljG0:184:19740\n" }

To whom does it occur (anonymous visitor, editor, administrator)?

anyone logged in or logged out.

What did you expect to happen?

no errors!

Which version of Islandora are you using?

advanced_search 2.0.1
Drupal 10.3

Any related open or closed issues to this bug report?

Screenshots:

Screenshot 2024-07-02 at 12 54 33 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant