Project

General

Profile

Actions

Bug #93904

closed

Scheduler test task is not working via cli

Added by Patrick Lenk about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
scheduler
Start date:
2021-04-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

The scheduler test task is not working if it runs @weekly via vendor/bin/typo3cms scheduler:run.

  [ TypeError ]                                                                
  Argument 1 passed to TYPO3\CMS\Core\Session\Backend\DatabaseSessionBackend:  
  :update() must be of the type string, null given, called in /var/www/vhosts  
  /REMOVED/private/typo3/sysext/core/Classes/Au  
  thentication/AbstractUserAuthentication.php on line 1274                     
Exception trace:
#0 ()
   typo3/sysext/core/Classes/Session/Backend/DatabaseSessionBackend.php:185
#1 TYPO3\CMS\Core\Session\Backend\DatabaseSessionBackend->update()
   typo3/sysext/core/Classes/Authentication/AbstractUserAuthentication.php:1274
#2 TYPO3\CMS\Core\Authentication\AbstractUserAuthentication->setAndSaveSessionData()
   typo3/sysext/core/Classes/FormProtection/BackendFormProtection.php:133
#3 TYPO3\CMS\Core\FormProtection\BackendFormProtection->persistSessionToken()
   typo3/sysext/core/Classes/FormProtection/BackendFormProtection.php:120
#4 TYPO3\CMS\Core\FormProtection\BackendFormProtection->retrieveSessionToken()
   typo3/sysext/core/Classes/FormProtection/AbstractFormProtection.php:50
#5 TYPO3\CMS\Core\FormProtection\AbstractFormProtection->getSessionToken()
   typo3/sysext/core/Classes/FormProtection/AbstractFormProtection.php:91
#6 TYPO3\CMS\Core\FormProtection\AbstractFormProtection->generateToken()
   typo3/sysext/backend/Classes/Routing/UriBuilder.php:118
#7 TYPO3\CMS\Backend\Routing\UriBuilder->buildUriFromRoute()
   typo3/sysext/backend/Classes/Resource/Processing/DeferredBackendImageProcessor.php:61
#8 TYPO3\CMS\Backend\Resource\Processing\DeferredBackendImageProcessor->processTask()
   typo3/sysext/core/Classes/Resource/Service/FileProcessingService.php:149
#9 TYPO3\CMS\Core\Resource\Service\FileProcessingService->process()
   typo3/sysext/core/Classes/Resource/Service/FileProcessingService.php:122
#10 TYPO3\CMS\Core\Resource\Service\FileProcessingService->processFile()
   typo3/sysext/core/Classes/Resource/ResourceStorage.php:1448
#11 TYPO3\CMS\Core\Resource\ResourceStorage->processFile()
   typo3/sysext/core/Classes/Resource/File.php:270
#12 TYPO3\CMS\Core\Resource\File->process()
   typo3/sysext/extbase/Classes/Service/ImageService.php:77
#13 TYPO3\CMS\Extbase\Service\ImageService->applyProcessingInstructions()
   typo3/sysext/fluid/Classes/ViewHelpers/ImageViewHelper.php:185
#14 TYPO3\CMS\Fluid\ViewHelpers\ImageViewHelper->render()
#15 call_user_func()
   vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractViewHelper.php:264
#16 TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper->callRenderMethod()
   vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractViewHelper.php:252
#17 TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper->initializeArgumentsAndRender()
   vendor/typo3fluid/fluid/src/Core/ViewHelper/ViewHelperInvoker.php:79
#18 TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperInvoker->invoke()
   vendor/typo3fluid/fluid/src/Core/Parser/SyntaxTree/ViewHelperNode.php:150
#19 TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ViewHelperNode->evaluate()
   vendor/typo3fluid/fluid/src/Core/Parser/SyntaxTree/AbstractNode.php:56
#20 TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\AbstractNode->evaluateChildNode()
   vendor/typo3fluid/fluid/src/Core/Parser/SyntaxTree/AbstractNode.php:36
#21 TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\AbstractNode->evaluateChildNodes()
   vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractViewHelper.php:306
#22 TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper->renderChildren()
   vendor/typo3fluid/fluid/src/ViewHelpers/ThenViewHelper.php:35
#23 TYPO3Fluid\Fluid\ViewHelpers\ThenViewHelper->render()
#24 call_user_func()
   vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractViewHelper.php:264
#25 TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper->callRenderMethod()
   vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractViewHelper.php:252
#26 TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper->initializeArgumentsAndRender()
   vendor/typo3fluid/fluid/src/Core/ViewHelper/ViewHelperInvoker.php:79
#27 TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperInvoker->invoke()
   vendor/typo3fluid/fluid/src/Core/Parser/SyntaxTree/ViewHelperNode.php:150
#28 TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ViewHelperNode->evaluate()
   vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractConditionViewHelper.php:164
#29 TYPO3Fluid\Fluid\Core\ViewHelper\AbstractConditionViewHelper->renderThenChild()
   vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractConditionViewHelper.php:60
#30 TYPO3Fluid\Fluid\Core\ViewHelper\AbstractConditionViewHelper->render()
#31 call_user_func()
   vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractViewHelper.php:264
#32 TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper->callRenderMethod()
   vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractViewHelper.php:252
#33 TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper->initializeArgumentsAndRender()
   vendor/typo3fluid/fluid/src/Core/ViewHelper/ViewHelperInvoker.php:79
#34 TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperInvoker->invoke()
   vendor/typo3fluid/fluid/src/Core/Parser/SyntaxTree/ViewHelperNode.php:150
#35 TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\ViewHelperNode->evaluate()
   vendor/typo3fluid/fluid/src/Core/Parser/SyntaxTree/AbstractNode.php:56
#36 TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\AbstractNode->evaluateChildNode()
   vendor/typo3fluid/fluid/src/Core/Parser/SyntaxTree/AbstractNode.php:36
#37 TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\AbstractNode->evaluateChildNodes()
   vendor/typo3fluid/fluid/src/Core/Parser/SyntaxTree/RootNode.php:25
#38 TYPO3Fluid\Fluid\Core\Parser\SyntaxTree\RootNode->evaluate()
   vendor/typo3fluid/fluid/src/Core/Parser/ParsingState.php:119
#39 TYPO3Fluid\Fluid\Core\Parser\ParsingState->render()
   vendor/typo3fluid/fluid/src/View/AbstractTemplateView.php:201
#40 TYPO3Fluid\Fluid\View\AbstractTemplateView->render()
   typo3/sysext/core/Classes/Mail/FluidEmail.php:179
#41 TYPO3\CMS\Core\Mail\FluidEmail->renderContent()
   typo3/sysext/core/Classes/Mail/FluidEmail.php:159
#42 TYPO3\CMS\Core\Mail\FluidEmail->generateTemplatedBody()
   typo3/sysext/core/Classes/Mail/FluidEmail.php:137
#43 TYPO3\CMS\Core\Mail\FluidEmail->ensureValidity()
   vendor/symfony/mailer/SentMessage.php:33
#44 Symfony\Component\Mailer\SentMessage->__construct()
   vendor/symfony/mailer/Transport/AbstractTransport.php:67
#45 Symfony\Component\Mailer\Transport\AbstractTransport->send()
   vendor/symfony/mailer/Transport/Smtp/SmtpTransport.php:132
#46 Symfony\Component\Mailer\Transport\Smtp\SmtpTransport->send()
   typo3/sysext/core/Classes/Mail/Mailer.php:125
#47 TYPO3\CMS\Core\Mail\Mailer->send()
   typo3/sysext/scheduler/Classes/Example/TestTask.php:90
#48 TYPO3\CMS\Scheduler\Example\TestTask->execute()
   typo3/sysext/scheduler/Classes/Scheduler.php:182
#49 TYPO3\CMS\Scheduler\Scheduler->executeTask()
   typo3/sysext/scheduler/Classes/Command/SchedulerCommand.php:259
#50 TYPO3\CMS\Scheduler\Command\SchedulerCommand->executeOrStopTask()
   typo3/sysext/scheduler/Classes/Command/SchedulerCommand.php:190
#51 TYPO3\CMS\Scheduler\Command\SchedulerCommand->loopTasks()
   typo3/sysext/scheduler/Classes/Command/SchedulerCommand.php:119
#52 TYPO3\CMS\Scheduler\Command\SchedulerCommand->execute()
   vendor/symfony/console/Command/Command.php:256
#53 Symfony\Component\Console\Command\Command->run()
   vendor/symfony/console/Application.php:971
#54 Symfony\Component\Console\Application->doRunCommand()
   vendor/helhum/typo3-console/Classes/Console/Mvc/Cli/Symfony/Application.php:189
#55 Helhum\Typo3Console\Mvc\Cli\Symfony\Application->doRunCommand()
   vendor/symfony/console/Application.php:290
#56 Symfony\Component\Console\Application->doRun()
   vendor/symfony/console/Application.php:166
#57 Symfony\Component\Console\Application->run()
   vendor/helhum/typo3-console/Classes/Console/Core/Kernel.php:113
#58 Helhum\Typo3Console\Core\Kernel->handle()
   vendor/helhum/typo3-console/Scripts/typo3-console.php:31
#59 {closure}()
   vendor/helhum/typo3-console/Scripts/typo3-console.php:33
#60 require()
   vendor/helhum/typo3-console/typo3cms:3
Actions #1

Updated by Patrick Lenk about 3 years ago

Works again with TYPO3 10.4.15. Can be closed.

Actions #2

Updated by Georg Ringer almost 3 years ago

  • Status changed from New to Closed

closed as requested

Actions

Also available in: Atom PDF