pulibrary / pul_library_drupal

Princeton University Library Core Site Drupal Codebase
https://library.princeton.edu/
GNU General Public License v2.0
3 stars 0 forks source link

"The form has become outdated" when using allsearch #2019

Open sandbergja opened 1 year ago

sandbergja commented 1 year ago

@ishasinha1 discovered this today -- thanks, @ishasinha1 !

Expected behavior

Regardless of what happens in another tab, searching the allsearch does not return the error "The form has become outdated. Press the back button, copy any unsaved work in the form, and then reload the page."

Actual behavior

This error appears if a user logs into the purchase request form in another page

Steps to replicate

  1. Go to https://library.princeton.edu/
  2. Confirm that you are logged out
  3. Do a search
  4. In the Libraries and Collections tab, open "Recommend a Purchase" in a new tab
  5. In the new tab, log in to CAS if prompted.
  6. In the new tab, confirm that you are logged in.
  7. In the original tab, search for something else
  8. Note that you are redirected to the home page with the "The form has become outdated" error

Impact of this bug

High: it prevents use of a highly used part of the website in a specific circumstance.

Notes

368 looks like a related issue