Commit 3a77b918 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Georg Ringer

[BUGFIX] Use correct action code to fetch workspace comments

With #89483 some constants to have named DataHandler actions were
introduced. Unfortunately, a location in Workspace was forgotten which
made it impossible to load comments from a changed record.

This patch updates the SELECT query to use the correct action number

Resolves: #93897
Related: #89483
Releases: master, 10.4
Change-Id: I62c857f1284ffc8577c726dd04c76ebbc96307f0
Reviewed-on: default avatarTYPO3com <>
Tested-by: core-ci's avatarcore-ci <>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <>
Tested-by: Georg Ringer's avatarGeorg Ringer <>
Reviewed-by: Xavier Perseguers's avatarXavier Perseguers <>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <>
Reviewed-by: Georg Ringer's avatarGeorg Ringer <>
parent ace65ef4
......@@ -26,6 +26,7 @@ use TYPO3\CMS\Core\Imaging\IconFactory;
use TYPO3\CMS\Core\Localization\LanguageService;
use TYPO3\CMS\Core\Resource\FileReference;
use TYPO3\CMS\Core\Resource\ProcessedFile;
use TYPO3\CMS\Core\SysLog\Action\Database as DatabaseAction;
use TYPO3\CMS\Core\Utility\DiffUtility;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Core\Utility\MathUtility;
......@@ -429,7 +430,7 @@ class RemoteServer
$queryBuilder->createNamedParameter(6, \PDO::PARAM_INT)
$queryBuilder->createNamedParameter(DatabaseAction::UPDATE, \PDO::PARAM_INT)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment