Actions
Bug #81824
closedWizards add not working with MM
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
DataHandler aka TCEmain
Target version:
-
Start date:
2017-07-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Hello guys,
maybe you can fix this buggy wizard ;)
State:- Table "A" is in relation with table "B" via a MM-table.
- TCA is configured to list the relation as a side-by-side field:
'config' => [ 'type' => 'select', 'renderType' => 'selectMultipleSideBySide', 'foreign_table' => 'tx_myextname_domain_model_b', 'MM' => 'tx_myextname_a_col_mm', 'size' => 10, 'autoSizeMax' => 30, 'maxitems' => 9999, 'multiple' => 0, 'wizards' => [ '_PADDING' => 1, '_VERTICAL' => 1, 'add' => [ 'module' => [ 'name' => 'wizard_add', ], 'type' => 'script', 'title' => 'Create new', 'icon' => 'EXT:backend/Resources/Public/Images/FormFieldWizard/wizard_add.gif', 'params' => [ 'table' => 'tx_myextname_domain_model_b', 'pid' => '###CURRENT_PID###', 'setValue' => 'prepend' ] ] ] ]
Expected behaviour:
When clicking on "add"-icon and saving a newly generated item of B, then it should prepended to the list of related items.
Actual behaviour:
All related items are going to be deleted except one and the newly generated item.
Thanks 4 help!
Greetings :)
Actions