Actions
Bug #72092
closedStory #69617: FormEngine bugs
RTE element tsconfig wrong if negative pid value (new element below other)
Start date:
2015-12-07
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
If an element is inserted below another element the pid value is negative which currently results in RTE Tsconfig not being extracted from current page.
Updated by Andreas Allacher almost 9 years ago
The issue is part of this code:
$this->pidOfPageRecord = $table === 'pages' && MathUtility::canBeInterpretedAsInteger($row['uid']) ? (int)$row['uid'] : (int)$row['pid']; BackendUtility::fixVersioningPid($table, $row); $this->pidOfVersionedMotherRecord = (int)$row['pid'];
However, as a workspace can also have a negative value (-1) I guess it is necessary to check if new and if pidOfPageRecord is not different from pidOfVersionedMotherRecord before calling getPagesTSconfig
This is also an issue with RTE tsconfig for linkhandler as the same value (pidOfPageRecord) is passed on to the LinkHandler.
Updated by Frank Nägler almost 9 years ago
- Category changed from RTE (rtehtmlarea + ckeditor) to FormEngine aka TCEforms
- Target version deleted (
7.6.1)
Updated by Morton Jonuschat almost 9 years ago
- Status changed from New to Resolved
- Target version set to 8.0
Fixed through issue #72751 / changeset 52b3f406c3ad16808c66cadd54d53657e4c2dce8.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed
Actions