[TYPO3-core] RFC #15400: Bugfix: IRRE - selected items not removed from selector

Martin Borer mbarts at gmx.ch
Mon Aug 9 11:59:57 CEST 2010


Am 09.08.2010 11:38, schrieb Steffen Kamper:
> could you be more descriptive? "there is a bug..." i expected that with
> a bug report ;)
>
> vg Steffen

Hi Steffen,

Sorry... will describe it a little bit more in first place next time!

If you use a IRRE Selector (see attached image). The entries in the 
selectors are not removed (main Child record selector, and selectors in 
child records).

Example of inline TCA field:
"matrix" => Array (
	 "label" => 
"LLL:EXT:adia_prodmng/locallang_db.xml:tx_adiaprodmng_products.matrix",
	 "config" => Array (
		 "type" => "inline",
		 "foreign_table" => "tx_adiaprodmng_matrix_rel",
		 "foreign_field" => "prod_id",
		 "foreign_selector" => "usage_id",
		 "foreign_sortby" => "sorting",
		 "foreign_label" => "usage_id",
		 'foreign_unique' => 'usage_id',
		 'appearance' => Array(
			//"useCombination" => 1,
			'showSynchronizationLink' => 1,
			'showAllLocalizationLink' => 1,
			'showPossibleLocalizationRecords' => 1,
			'showRemovedLocalizationRecords' => 1,	
			"useSortable" => 1,
		 ),
		'behaviour' => array(
			'localizationMode' => 'select',
		),
		 "maxitems" => 50,
		 "size" => 15,
	 )
),

The setUnique function was not updated for the new handling with the 
scriptaculous javascript framework.

Greets Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: irre_selector.png
Type: image/png
Size: 28158 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100809/d141b745/attachment-0001.png>


More information about the TYPO3-team-core mailing list