[BUGFIX] Unify handling of reading from sys_log.log_data
This change allows using PSR-3 provided placeholders such as "{myVariable}" in various places related to logging rendering, and fixes places in DataHandler where placeholders weren't used in the past and hard-coded strings were used instead of labels. Various logging calls to sys_log can now be read in a unified way, as the Logging API already used the placeholders in some places. Resolves: #97148 Releases: main, 11.5 Change-Id: Idd248fe6b5edf4dbc0476a602ba3dbb1d165b588 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73873 Tested-by:core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/backend/Classes/Security/FailedLoginAttemptNotification.php 4 additions, 2 deletions...ckend/Classes/Security/FailedLoginAttemptNotification.php
- typo3/sysext/belog/Classes/Domain/Model/LogEntry.php 5 additions, 5 deletionstypo3/sysext/belog/Classes/Domain/Model/LogEntry.php
- typo3/sysext/belog/Classes/ViewHelpers/FormatDetailsViewHelper.php 3 additions, 7 deletions...ext/belog/Classes/ViewHelpers/FormatDetailsViewHelper.php
- typo3/sysext/core/Classes/DataHandling/DataHandler.php 25 additions, 25 deletionstypo3/sysext/core/Classes/DataHandling/DataHandler.php
- typo3/sysext/core/Classes/Log/LogDataTrait.php 78 additions, 0 deletionstypo3/sysext/core/Classes/Log/LogDataTrait.php
- typo3/sysext/core/Tests/Functional/DataHandling/AbstractDataHandlerActionTestCase.php 3 additions, 2 deletions...tional/DataHandling/AbstractDataHandlerActionTestCase.php
- typo3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php 17 additions, 0 deletions...3/sysext/core/Tests/Unit/DataHandling/DataHandlerTest.php
- typo3/sysext/lowlevel/Classes/Command/ListSysLogCommand.php 5 additions, 2 deletionstypo3/sysext/lowlevel/Classes/Command/ListSysLogCommand.php
- typo3/sysext/workspaces/Classes/Controller/Remote/RemoteServer.php 4 additions, 1 deletion...ext/workspaces/Classes/Controller/Remote/RemoteServer.php
Please register or sign in to comment