[BUGFIX] Save correct table name as ref_table in refindex
The identifier from the linkHandler page TSconfig was formerly used as the reference table name "ref_table". This identifier is free to choose and shouldn't be interpreted as a name of a table. In order to resolve the correct table name, which is stated in the configuration, the page id of the reference record is now used. This allows the TypolinkSoftReferenceParser to read the according page TSconfig and to set the correct table name. Resolves: #95380 Releases: master Change-Id: I28817a7267a107df27828d99f7e0cf2eeaaf2de1 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71340 Tested-by:core-ci <typo3@b13.com> Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- typo3/sysext/core/Classes/DataHandling/SoftReference/TypolinkSoftReferenceParser.php 16 additions, 3 deletions...ataHandling/SoftReference/TypolinkSoftReferenceParser.php
- typo3/sysext/core/Tests/UnitDeprecated/Database/SoftReferenceIndexTest.php 1 addition, 1 deletion.../Tests/UnitDeprecated/Database/SoftReferenceIndexTest.php
Please register or sign in to comment