Project

General

Profile

Actions

Bug #21817

closed

EDITPANEL -> "newRecordinPid" doesn't work anymore with feedit

Added by Sven Juergens almost 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2009-12-07
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

0012964.diff (1.52 KB) 0012964.diff Administrator Admin, 2009-12-07 12:39
12964_v2.diff (1.64 KB) 12964_v2.diff Administrator Admin, 2010-08-02 12:15
Actions

Also available in: Atom PDF