[TYPO3-core] RFC #15657: IRRE: Foreign selector with groupdb won't add new items

Thomas Maroschik tmaroschik at dfau.de
Thu Sep 16 15:19:22 CEST 2010


REMINDER #1

Excuse me for not writing this in svn patch request format.

Am 07.09.10 15:02, schrieb Thomas Maroschik:
> Copy of http://bugs.typo3.org/view.php?id=15657
>
> 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.
>
> ________________________
>
> 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
>


-- 
___________________________
Thomas Maroschik
DFAU


More information about the TYPO3-team-core mailing list