Bug #59849
closedGlobal renderReadonly in Tceforms doesn't affect tree
100%
Description
The global renderReadonly status in Tceforms doesn't affect a rendered tree because the check was forgotten when #25888 was implemented.
Updated by Gerrit Code Review over 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/31110
Updated by Lorenz Ulrich over 10 years ago
Steps to reproduce:
Implement $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tceforms.php']['getMainFieldsClass'][]
hook with this function:
public function getMainFields_preProcess($table, $row, $parentObject) { /** @var $parentObject \TYPO3\CMS\Backend\Form\FormEngine */ $parentObject->renderReadonly = TRUE; }
While most of the fields will be read-only, tree fields (and IRRE --> separate issue) and trees will be writable.
Updated by Gerrit Code Review over 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31815
Updated by Lorenz Ulrich over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 50abc39cf97edc5ed3116191cbedd914611f293f.