Am 13.05.2013 17:47, schrieb Christian Welzel:
Am 13.05.2013 17:18, schrieb JoH asenau:

Ergibt zweimal den Inhalt des Elements mit der uid 74

Erstaunlich, ging bei mir nicht.
Wenn man mal nach RECORD greppt, kommt das:

class.tslib_fe.php:     var $recordRegister = Array();          // used
by cObj->RECORDS and cObj->CONTENT to ensure the a records is NOT
rendered twice through it!

und content/class.tslib_content_records.php hat sogar einen Check dafür
drin:
if ($row && !$GLOBALS['TSFE']->recordRegister[$val['table'] . ':' .
$val['id']]) { ... }
was der gleiche Check ist, der auch in CONTENT checkt.


Das mag daran liegen, dass in meinem TS-Snippet kein table:id drinsteht, sondern tables als separater Parameter gesetzt ist.

Von daher wird zwar ggf ein Register gesetzt, aber später ein anderes abgefragt.
Ist also eigentlich ein Bug, der das möglich macht.

;-)

Joey

--
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
_______________________________________________
TYPO3-german mailing list
[email protected]
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an