- Issue created by @jannakha
- last update
about 2 years ago 54 pass - @jannakha opened merge request.
- Status changed to Needs review
about 2 years ago 6:04am 10 August 2023 - Issue was unassigned.
- Status changed to RTBC
about 2 years ago 5:04am 13 August 2023 - 🇦🇺Australia VladimirAus Brisbane, Australia
Patch applied and no more
Session is not set.
error when running the following code during thedrush queue:run
.$session_handler = \Drupal::service('session_handler.write_safe'); $this->accountSwitcher->switchTo(new UserSession(['uid' => 1])); $session_handler->setSessionWritable(TRUE); ... // Generate PDF (new instance of engine required). $print_engine = $this->entityPrintPluginManager->createSelectedInstance('pdf'); $this->printBuilder->savePrintable([$node], $print_engine, $scheme, $location, TRUE, $view_mode);
- 🇦🇺Australia b.ravanbakhsh Adelaide
patch applied and fixed the error in our `drush cron`
thanks
-
jannakha →
committed 1c686ccd on 8.x-2.x
Issue #3380359: Session is not set when generating PDFs using commands (...
-
jannakha →
committed 1c686ccd on 8.x-2.x
- 🇮🇱Israel jsacksick
hm... This introduced phpstan errors, would have been nice to fix them before merging the MR.
- 🇮🇱Israel jsacksick
Created an issue to fix those (See 🐛 Fix phpcs & phpstan issues Active ).
Automatically closed - issue fixed for 2 weeks with no activity.