Project

General

Profile

Actions

Bug #35244

closed

TCAtree inline record triggers

Added by Philipp Gampe over 12 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-03-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.7
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

PHP Warning: Missing argument 2 for extDirect_DataProvider_BackendUserSettings::addToList() 
in /home/phil/t3-playground/t3-git/t3lib/extjs/dataprovider/class.extdirect_dataprovider_beusersettings.php line 107

This happens if I try to save a content element with a inline relation from the test extension from #27957.

The reason is that the function processRpc in class.t3lib_extjs_extdirectrouter.php does

return call_user_func_array(
            array($endpointObject, $singleRequest->method),
            is_array($singleRequest->data) ? $singleRequest->data : array()
        );
is called with $singleRequest->data being just array(0 => 'tcaTrees.731c5105a19f1cd75f62dd10f39355b1').

I'll attach the raw json data.


Files

raw-data.json (18.5 KB) raw-data.json Philipp Gampe, 2012-03-26 18:48

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #27957: TCA tree somehow causes fatal error when using in inline record (IRRE)ClosedXavier Perseguers2011-07-07

Actions
Actions

Also available in: Atom PDF