Bug #35681
closedcObj->RECORDS/CONTENT
90%
Description
Hi guys,
got a problem using cObj->RECORDS or cObj->CONTENT inside an old extension. In Typo3 4.6.7, the extensions "main" function won't return anything if one of these functions have been used.
The output looks fine, debugging via "echo $this->cObj->RECORDS" will output the desired record.
The entire main-function inside my testing extension looks like this:
function main($content,$conf) {
$content = 'bla';
$rConf = array('tables' => 'tt_content', 'source' => '19', 'dontCheckPid' => 1);
$cConf = array(
'table' => 'tt_content',
'select.' => array(
'pidInList' => 2
)
);
$content .= $this->cObj->CONTENT($cConf);
return $this->pi_wrapInBaseClass($content);
}
Installed this test-extension on a 4.6.2 project and everything worked.
Updated by Martin Vennemann over 12 years ago
Please could anyone confirm this as a core-bug or point me into the right direction to get this fixed... running close to a project deadline and I desperately need the RECORDS function inside that old extension (rgtabs)...
Updated by Martin Vennemann over 12 years ago
- % Done changed from 0 to 90
finally got it - problem was related to a typoscript setting.
For some reason the typoscript setup of that particular page uses extra makers for a blog, defined likepage.10.marks.BLOG_CONTENT_NORMAL < styles.content.get
Commenting this line out did fix my problem. Is this the intended behavior? That'd mean I have to update more than 100 typoscripts before updating typo3 for our clients...
Updated by Wouter Wolters almost 10 years ago
- Status changed from New to Needs Feedback
- Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.9)?
Updated by Riccardo De Contardi over 9 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.