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');
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

varenius created an issue. See original summary.

varenius’s picture

Proposed patch attached. I have tested on drupal 9.0.6 and it seems to be working.

varenius’s picture

Issue summary: View changes
joseph.olstad’s picture

Title: Cannot load page admin/content/scanner on drupal 9.0.6 » Cannot load page admin/content/scanner on drupal 9.0.9
Assigned: varenius » Unassigned
Priority: Normal » Critical
Issue summary: View changes
Status: Active » Reviewed & tested by the community

Thanks

sd123’s picture

I can confirm the bug and also that patch proposed by varenius is working with Drupal 9.1.3.

DamienMcKenna’s picture

Status: Reviewed & tested by the community » Fixed
Parent issue: » #3083589: Plan for Search and Replace Scanner 8.x-1.0-rc6

Committed. Thank you.

  • DamienMcKenna committed 778de8e on 8.x-1.x authored by varenius
    Issue #3173506 by varenius, joseph.olstad, sd123: Cannot load page admin...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.