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 #1

Updated by Björn Pedersen about 14 years ago

For TYPO3 trunk:
I can confirm the bug and the v2-patch is working.

Actions #2

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...

Actions #3

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).

Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF