Project

General

Profile

Actions

Bug #35681

closed

cObj->RECORDS/CONTENT

Added by Martin Vennemann about 12 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
Start date:
2012-04-04
Due date:
% Done:

90%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.

Actions #1

Updated by Martin Vennemann about 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)...

Actions #2

Updated by Martin Vennemann about 12 years ago

...same problem with 4.6.8

Actions #3

Updated by Martin Vennemann about 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 like
page.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...

Actions #4

Updated by Wouter Wolters over 9 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)?

Actions #5

Updated by Riccardo De Contardi almost 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.

Actions

Also available in: Atom PDF