Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello
We are using this module on one of our project and found problem related with next error:
The form has become outdated. Copy any unsaved work in the form below and then reload this page.
Looks like its caused by incorrect validation of token in autosave_popup_access().
Now we are validating token which built by Drupal. Form which was saved in autosave_forms has absolutely different token.
This causes that $token variable will always set to TRUE. And popup content will shown anyway (even if user changed session one or more times).
So looks like we need to check token from saved form (if it has become outdated).
Comments
Comment #2
sumthief CreditAttribution: sumthief as a volunteer and at DrupalJedi commentedComment #3
sumthief CreditAttribution: sumthief as a volunteer and at DrupalJedi commentedDuplicate of https://www.drupal.org/node/1400764.