Bug #45360
closed
TCA wizard "add": save/close leads to error message
Added by Roland almost 12 years ago.
Updated over 5 years ago.
Category:
FormEngine aka TCEforms
Description
Saving/Closing of a record which was meant to be added via TCA wizard "add" leads to this error message:
No valid ajaxID parameter given.
I used this wizard-configuration im my TCA configuration:
'wizards' => array(
'_PADDING' => 1,
'_VERTICAL' => 1,
'add' => Array(
'type' => 'script',
'title' => 'Create new',
'icon' => 'add.gif',
'params' => array(
'table' => 'tx_accphyproduktkatalog_domain_model_feature',
'pid' => '###CURRENT_PID###',
'setValue' => 'prepend'
),
'script' => 'wizard_add.php',
),
),
Files
important to add: error only occurs if the field with the wizard is part of a IRRE record
- parent record
- irre record with a field which has an "add" wizard
- Category changed from Backend User Interface to 978
i boiled it down to this specific scenario that causes the error message:
TCA configuration of the IRRE field: ['config']['appearance']['collapseAll'] => 1
with 'collapseAll' => 0 the error message will not whow up.
enclosed please find a test extension and have a look at line 114 in test/Configuration/TCA/Grandparent.php
This error still persists in version 6.1.5.
- Target version changed from 6.0.2 to 7.4 (Backend)
- Is Regression set to No
- Target version changed from 7.4 (Backend) to 7.5
- Target version deleted (
7.5)
I cannot reproduce any more in v9 (with collapseAll => 0)
- Status changed from New to Closed
A lot of time has passed since version 6.x; I think it is safe to close this one for now;
If you think that this is the wrong decision or have more information about how to reproduce this issue on recent TYPO3 versions like 8.7 or 9 or the latest master, please reopen it or ping me.
Thank you.
Also available in: Atom
PDF