#23401Flexform sections cannot be deleted in frontend editing
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.