Project

General

Profile

Actions

Bug #99509

closed

Too many CompositeExpression::addMultiple deprecation warnings on Windows

Added by Robert Kärner almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
Start date:
2023-01-10
Due date:
% Done:

100%

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

Description

On TYPO3 v12.1.3 running under Windows, the deprecation log is flooded with multiple deprecation warnings on every request (FE or BE):
CompositeExpression::addMultiple() will be removed in TYPO3 v13.0. Use CompositeExpression::with() instead.

They are generated by the core itself, not by a 3rd party extension.

The stacktrace is as follows:

#0 /vendor/doctrine/dbal/src/Query/Expression/CompositeExpression.php(52): TYPO3/CMS/Core/Database/Query/Expression/CompositeExpression->addMultiple(Array)
#1 /vendor/typo3/cms-core/Classes/Database/Query/Expression/CompositeExpression.php(47): Doctrine/DBAL/Query/Expression/CompositeExpression->__construct('AND', Array)
#2 /vendor/typo3/cms-core/Classes/Database/Query/Expression/CompositeExpression.php(131): TYPO3/CMS/Core/Database/Query/Expression/CompositeExpression->__construct('AND', Array)
#3 /vendor/typo3/cms-core/Classes/Database/Query/Expression/ExpressionBuilder.php(100): TYPO3/CMS/Core/Database/Query/Expression/CompositeExpression::and()
#4 /vendor/typo3/cms-core/Classes/Database/Query/Restriction/DeletedRestriction.php(49): TYPO3/CMS/Core/Database/Query/Expression/ExpressionBuilder->and()
#5 /vendor/typo3/cms-core/Classes/Database/Query/Restriction/AbstractRestrictionContainer.php(51): TYPO3/CMS/Core/Database/Query/Restriction/DeletedRestriction->buildExpression(Array, Object(TYPO3/CMS/Core/Database/Query/Expression/ExpressionBuilder))
#6 /vendor/typo3/cms-core/Classes/Database/Query/QueryBuilder.php(1345): TYPO3/CMS/Core/Database/Query/Restriction/AbstractRestrictionContainer->buildExpression(Array, Object(TYPO3/CMS/Core/Database/Query/Expression/ExpressionBuilder))
#7 /vendor/typo3/cms-core/Classes/Database/Query/QueryBuilder.php(276): TYPO3/CMS/Core/Database/Query/QueryBuilder->addAdditionalWhereConditions()
#8 /vendor/typo3/cms-core/Classes/Session/Backend/DatabaseSessionBackend.php(95): TYPO3/CMS/Core/Database/Query/QueryBuilder->executeQuery()
#9 /vendor/typo3/cms-core/Classes/Session/UserSessionManager.php(325): TYPO3/CMS/Core/Session/Backend/DatabaseSessionBackend->get('2bf93c3c28b416e...')
#10 /vendor/typo3/cms-core/Classes/Session/UserSessionManager.php(98): TYPO3/CMS/Core/Session/UserSessionManager->getSessionFromSessionId('2bf93c3c28b416e...')
#11 /vendor/typo3/cms-core/Classes/Authentication/AbstractUserAuthentication.php(263): TYPO3/CMS/Core/Session/UserSessionManager->createFromRequestOrAnonymous(Object(TYPO3/CMS/Core/Http/ServerRequest), 'be_typo_user')
#12 /vendor/typo3/cms-frontend/Classes/Middleware/BackendUserAuthenticator.php(94): TYPO3/CMS/Core/Authentication/AbstractUserAuthentication->start(Object(TYPO3/CMS/Core/Http/ServerRequest))
#13 /vendor/typo3/cms-frontend/Classes/Middleware/BackendUserAuthenticator.php(62): TYPO3/CMS/Frontend/Middleware/BackendUserAuthenticator->initializeBackendUser(Object(TYPO3/CMS/Core/Http/ServerRequest))
#14 /vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php(162): TYPO3/CMS/Frontend/Middleware/BackendUserAuthenticator->process(Object(TYPO3/CMS/Core/Http/ServerRequest), Object(Psr/Http/Server/RequestHandlerInterface@anonymous))
#15 /vendor/typo3/cms-core/Classes/Middleware/RequestTokenMiddleware.php(71): Psr/Http/Server/RequestHandlerInterface@anonymous->handle(Object(TYPO3/CMS/Core/Http/ServerRequest))
#16 /vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php(162): TYPO3/CMS/Core/Middleware/RequestTokenMiddleware->process(Object(TYPO3/CMS/Core/Http/ServerRequest), Object(Psr/Http/Server/RequestHandlerInterface@anonymous))
#17 /vendor/typo3/cms-frontend/Classes/Middleware/MaintenanceMode.php(51): Psr/Http/Server/RequestHandlerInterface@anonymous->handle(Object(TYPO3/CMS/Core/Http/ServerRequest))
#18 /vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php(162): TYPO3/CMS/Frontend/Middleware/MaintenanceMode->process(Object(TYPO3/CMS/Core/Http/ServerRequest), Object(Psr/Http/Server/RequestHandlerInterface@anonymous))
#19 /vendor/typo3/cms-frontend/Classes/Middleware/SiteResolver.php(61): Psr/Http/Server/RequestHandlerInterface@anonymous->handle(Object(TYPO3/CMS/Core/Http/ServerRequest))
#20 /vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php(162): TYPO3/CMS/Frontend/Middleware/SiteResolver->process(Object(TYPO3/CMS/Core/Http/ServerRequest), Object(Psr/Http/Server/RequestHandlerInterface@anonymous))
#21 /vendor/typo3/cms-frontend/Classes/Middleware/EidHandler.php(52): Psr/Http/Server/RequestHandlerInterface@anonymous->handle(Object(TYPO3/CMS/Core/Http/ServerRequest))
#22 /vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php(162): TYPO3/CMS/Frontend/Middleware/EidHandler->process(Object(TYPO3/CMS/Core/Http/ServerRequest), Object(Psr/Http/Server/RequestHandlerInterface@anonymous))
#23 /vendor/typo3/cms-core/Classes/Middleware/NormalizedParamsAttribute.php(41): Psr/Http/Server/RequestHandlerInterface@anonymous->handle(Object(TYPO3/CMS/Core/Http/ServerRequest))
#24 /vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php(162): TYPO3/CMS/Core/Middleware/NormalizedParamsAttribute->process(Object(TYPO3/CMS/Core/Http/ServerRequest), Object(Psr/Http/Server/RequestHandlerInterface@anonymous))
#25 /vendor/typo3/cms-core/Classes/Middleware/VerifyHostHeader.php(55): Psr/Http/Server/RequestHandlerInterface@anonymous->handle(Object(TYPO3/CMS/Core/Http/ServerRequest))
#26 /vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php(162): TYPO3/CMS/Core/Middleware/VerifyHostHeader->process(Object(TYPO3/CMS/Core/Http/ServerRequest), Object(Psr/Http/Server/RequestHandlerInterface@anonymous))
#27 /vendor/typo3/cms-frontend/Classes/Middleware/TimeTrackerInitialization.php(54): Psr/Http/Server/RequestHandlerInterface@anonymous->handle(Object(TYPO3/CMS/Core/Http/ServerRequest))
#28 /vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php(162): TYPO3/CMS/Frontend/Middleware/TimeTrackerInitialization->process(Object(TYPO3/CMS/Core/Http/ServerRequest), Object(Psr/Http/Server/RequestHandlerInterface@anonymous))
#29 /vendor/typo3/cms-core/Classes/Http/MiddlewareDispatcher.php(70): Psr/Http/Server/RequestHandlerInterface@anonymous->handle(Object(TYPO3/CMS/Core/Http/ServerRequest))
#30 /vendor/typo3/cms-core/Classes/Http/AbstractApplication.php(80): TYPO3/CMS/Core/Http/MiddlewareDispatcher->handle(Object(TYPO3/CMS/Core/Http/ServerRequest))
#31 /vendor/typo3/cms-frontend/Classes/Http/Application.php(59): TYPO3/CMS/Core/Http/AbstractApplication->handle(Object(TYPO3/CMS/Core/Http/ServerRequest))
#32 /vendor/typo3/cms-core/Classes/Http/AbstractApplication.php(92): TYPO3/CMS/Frontend/Http/Application->handle(Object(TYPO3/CMS/Core/Http/ServerRequest))
#33 /public/index.php(20): TYPO3/CMS/Core/Http/AbstractApplication->run()
#34 /public/index.php(21): {closure}()
Actions #1

Updated by Gerrit Code Review almost 2 years ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77321

Actions #2

Updated by Gerrit Code Review almost 2 years ago

Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77321

Actions #3

Updated by Gerrit Code Review almost 2 years ago

Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77321

Actions #4

Updated by Robert Kärner almost 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Stefan Bürk almost 2 years ago

  • Assignee set to Stefan Bürk
  • Target version set to 12.2
Actions #6

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF