Bug #44416
closedHook "modifyDBRow" in "ContentContentObject" does not work!
100%
Description
The hook "modifyDBRow" in class "ContentContentObject" does not work:
Line 104-109 from class "ContentContentObject":
if (is_array($this->TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content_content.php']['modifyDBRow'])) {
foreach ($this->TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content_content.php']['modifyDBRow'] as $_classRef) {
$_procObj = \TYPO3\CMS\Core\Utility\GeneralUtility::getUserObj($_classRef);
$_procObj->modifyDBRow($row, $conf['table']);
}
}
TYPO3_CONF_VARS is accessed via "$this", but TYPO3_CONF_VARS is never a member of current class instance!
It woild have to be accessed via "$GLOBALS['TYPO3_CONF_VARS']"
6.0 and 4.7 are affected by this bug, i think earlier versions are affected too!
Updated by Gerrit Code Review almost 12 years ago
- Status changed from New to Under Review
Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17948
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17948
Updated by Gerrit Code Review almost 12 years ago
Patch set 3 for branch TYPO3_6-0 has been pushed to the review server.
It is available at https://review.typo3.org/17948
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/17961
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at https://review.typo3.org/17962
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at https://review.typo3.org/17963
Updated by Gerrit Code Review almost 12 years ago
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at https://review.typo3.org/17964
Updated by Gerrit Code Review almost 12 years ago
Patch set 2 for branch TYPO3_4-6 has been pushed to the review server.
It is available at https://review.typo3.org/17963
Updated by Alina Fleser almost 12 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 05d9084cfea3d1625ad568ab868b9163f430bcc0.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed