[TYPO3-core] RFC #12964: EDITPANEL -> "newRecordinPid" doesn't work anymore with feedit

Sven Juergens t3 at blue-side.de
Sun May 9 13:56:18 CEST 2010


Hi,

This is an SVN patch request.

Type: Bugfix

Bugtracker references:

http://bugs.typo3.org/view.php?id=12964

Branches:

trunk

Problem:

if you use the standard feedit with TYPO3 4.3 the following script is 
not completely possible

page.1 = EDITPANEL
page.1{
       allow = new
       newRecordFromTable = tt_content
       label = new Element
       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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12964.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100509/2d7b8ee0/attachment.txt>


More information about the TYPO3-team-core mailing list