Issue Bug Rejected

#79446TCA Wizard Select

Peter Reichenbach 01/24/17, 16:49 updated 04/03/17, 19:21

Description

https://docs.typo3.org/typo3cms/TCAReference/AdditionalFeatures/WizardsConfiguration/Index.html#select-wizards
The “select” wizard’s select-properties can be manipulated with the same number of TSconfig options which are available for “real” select-type fields in TCEFORM.[table].[field].
->
https://docs.typo3.org/typo3cms/TCAReference/Reference/Columns/Select/Index.html#foreign-table-where
You can use markers in the WHERE clause: …

The markers results in empty values!

Example:

        'textfield' => array(
            'config' => array(
                'type' => 'text',
                'cols' => 40,
                'rows' => 5,
                'eval' => 'trim',
                'wizards' => array(
                    'suggest' => array(
                        'type' => 'select',
                        'mode' => 'prepend',
                        'foreign_table' => 'tx_extkey_domain_model_suggest',
                        'foreign_table_where' => ' AND tx_extkey_domain_model_suggest.type="textfield" AND tx_extkey_domain_model_suggest.sys_language_uid IN(-1,###REC_FIELD_sys_language_uid###) ORDER BY tx_extkey_domain_model_suggest.keyword',
                    ),
                )
            ),
        ),

results in
REC_FIELD_pid: ‘’ (should be 3)
REC_FIELD_sys_language_uid: ‘’ (should be 1)
CURRENT_PID:0 (should be 3)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.