Project

General

Profile

Actions

Bug #59849

closed

Global renderReadonly in Tceforms doesn't affect tree

Added by Lorenz Ulrich over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2014-06-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The global renderReadonly status in Tceforms doesn't affect a rendered tree because the check was forgotten when #25888 was implemented.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #25888: TCA Tree readOnly not workingClosed2011-04-11

Actions
Actions #1

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

Actions #2

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.

Actions #3

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

Actions #4

Updated by Lorenz Ulrich over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF