Actions
Bug #23401
closedFlexform sections cannot be deleted in frontend editing
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-08-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.4
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
When using feedit or feeditadvanced, flexform sections cannot be deleted.
In t3lib_tceforms->getSingleField_typeFlex_draw(), a special hidden form field is created to pass along the name of the element being deleted. In a backend context, itemFormElName is data. In a frontend context, its TSFE_EDIT[data].
$actionFieldName = '_ACTION_FLEX_FORM'.$PA['itemFormElName'].$s0.'][_ACTION]['.$s1;
In t3lib_tcemain->checkValueFlex(), the check is hardcoded to rely on the backend version.
$actionCMDs = t3lib_div::_GP('_ACTION_FLEX_FORMdata');
The "data" portion should not be hardcoded and the t3lib_tcemain should not read directly from the GET/POST data.
(issue imported from #M15496)
Actions