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.
Problem/Motivation
Cannot load page admin/content/scanner on drupal v 9.0.9.
Steps to reproduce
Go to page admin/content/scanner on drupal 9.0.9.
Proposed resolution
Probably the same error as described on https://www.drupal.org/project/workflow_buttons/issues/3162893. Hence making a patch similar to https://www.drupal.org/files/issues/2020-08-02/3162893-2.workflow_button... should work.
Remaining tasks
Seems the affected files are:
$ grep -r private_tempstore *
src/Plugin/ScannerPluginBase.php: $container->get('user.private_tempstore'),
src/Form/ScannerConfirmForm.php: $container->get('user.private_tempstore')
src/Form/ScannerForm.php: $container->get('user.private_tempstore'),
src/Form/ScannerForm.php: $scannerStore = \Drupal::service('user.private_tempstore')->get('scanner');
Comment | File | Size | Author |
---|---|---|---|
#2 | 3173506-1.patch | 2.01 KB | varenius |
Comments
Comment #2
varenius CreditAttribution: varenius as a volunteer commentedProposed patch attached. I have tested on drupal 9.0.6 and it seems to be working.
Comment #3
varenius CreditAttribution: varenius as a volunteer commentedComment #4
joseph.olstadThanks
Comment #5
sd123 CreditAttribution: sd123 as a volunteer commentedI can confirm the bug and also that patch proposed by varenius is working with Drupal 9.1.3.
Comment #6
DamienMcKennaCommitted. Thank you.