Project

General

Profile

Actions

Bug #23513

closed

IRRE: Foreign selector with groupdb won't add new items

Added by Thomas Maroschik about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-09-07
Due date:
% Done:

0%

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

Description

When configuring a field like this:

'type' => 'inline',
'maxitems' => '1',
'foreign_table' => 'tx_traveldb_domain_model_arrival_port',
'foreign_selector' => 'location_code',

and the foreign selector field like this

'type' => 'group',
'internal_type' => 'db',
'size' => '1',
'maxitems' => '1',
'allowed' => 'static_unlocode',
'prepend_tname ' => '0',

and clicking on a database entry in browser.php you will get a javascript error like this

this.getNumberOfRTE is not a function

and nothing else happens.

(issue imported from #M15657)


Files

patch_jsfuncinline_15657_v1.diff (502 Bytes) patch_jsfuncinline_15657_v1.diff Administrator Admin, 2010-09-07 14:58
typo3core_bugfix_15657_trunk.patch (511 Bytes) typo3core_bugfix_15657_trunk.patch Administrator Admin, 2010-09-28 17:04
typo3core_bugfix_15657_typo3_4-3.patch (511 Bytes) typo3core_bugfix_15657_typo3_4-3.patch Administrator Admin, 2010-09-28 17:04
typo3core_bugfix_15657_typo3_4-4.patch (511 Bytes) typo3core_bugfix_15657_typo3_4-4.patch Administrator Admin, 2010-09-28 17:05
Actions #1

Updated by Thomas Maroschik about 14 years ago

Attached a patch which fixes the scope in the function call

inline.makeAjaxCall('createNewRecord', [this.getNumberOfRTE(), objectId, uid], true);

to

inline.makeAjaxCall('createNewRecord', [inline.getNumberOfRTE(), objectId, uid], true);

IRRE works like expected afterwards

Actions #2

Updated by Stanislas Rolland about 14 years ago

Chances are NULL that you will get a reply in the Core List if your entry is not correctly formated.

Please upload a small extension that would allow to reproduce the error and test the patch.

Actions #3

Updated by Stanislas Rolland about 14 years ago

Patch committed to SVN TYPO3core trunk (revision 9133), branch TYPO3_4-4 (revision 9134) and branch TYPO3_4-3 (revision 9135).

Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF