Bug #21817
closedEDITPANEL -> "newRecordinPid" doesn't work anymore with feedit
0%
Description
the following script is not completely possible
page.1 = EDITPANEL
page.1{
allow = new
newRecordFromTable = tt_content
label = Neue Veranstaltung anlegen
newRecordInPid = 46
}
the record is always created on $GLOBALS['TSFE']->id
the problem is located in sysext/feedit/view/class.tx_feedit_editpanel.php in function editPanel().
the value of "newRecordInPid" is commit in var $newUID to the function.
but later in the function it's used as $nPid()
Solution: rename $nPid to $newUID
(issue imported from #M12964)
Files
Updated by Björn Pedersen about 14 years ago
For TYPO3 trunk:
I can confirm the bug and the v2-patch is working.
Updated by Björn Pedersen about 14 years ago
Could find the correct mail in the core list. I will repost this to get it in...
Updated by Benni Mack about 14 years ago
Committed v2 to trunk (rev. 8819).
Committed v2 to TYPO3_4-4 (rev. 8820).
Committed v2 to TYPO3_4-3 (rev. 8821).