Bug #59849
closed
Global renderReadonly in Tceforms doesn't affect tree
Added by Lorenz Ulrich over 10 years ago.
Updated about 6 years ago.
Category:
FormEngine aka TCEforms
Description
The global renderReadonly status in Tceforms doesn't affect a rendered tree because the check was forgotten when #25888 was implemented.
- Status changed from New to Under Review
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.
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF