Project

General

Profile

Actions

Bug #56060

closed

TCA type inline readOnly

Added by Felix Kopp over 10 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Start date:
2014-02-17
Due date:
% Done:

100%

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

Description

readOnly=TRUE does not change the behavior of field type=inline.
At least the "Add new" should disappear.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #23975: TCAtree config option readOnly = 1 has no effectClosed2010-11-07

Actions
Related to TYPO3 Core - Bug #32412: TCA: readOnly renders as 'disabled' element instead of 'readonly'. 'passthrough' type renders nothing (not even a hidden field). No way to pass default IRRE child 'type' values.Rejected2018-12-02

Actions
Actions #1

Updated by Markus Hofmann about 10 years ago

The same behaviour is in Typo3 v6.1. Type inline doesn't accept the readOnly flag

Actions #2

Updated by Felix Oertel over 9 years ago

  • Status changed from New to Accepted

Still valid for current master.

Actions #3

Updated by Daniel Goerz about 8 years ago

  • Status changed from Accepted to Needs Feedback

This bug report is very old. Does this bug still occur in TYPO3 7 LTS and/or the master? And if so how can it be reproduced?

Actions #4

Updated by Vladimir Falcon about 8 years ago

Yes this bug/missing feature is still current.

For example:

TCA...
'reservations' => [
'label' => $ll . 'tx_t3events_domain_model_performance.reservations',
'exclude' => 1,
'config' => [
'type' => 'inline',
'foreign_table' => 'tx_t3eventsreservation_domain_model_reservation',
'foreign_field' => 'lesson',
'readOnly' => 1
]
],
...

readOnly has not effect in BE. Anyone can edit the reservations inline records.

Actions #5

Updated by Alexander Opitz over 7 years ago

  • Status changed from Needs Feedback to New
  • Target version set to Candidate for patchlevel
Actions #6

Updated by Eric Chavaillaz about 7 years ago

Yes, I can confirm this bug...

Actions #7

Updated by Sebastian Fischer about 7 years ago

This is still not working. Though it is readyOnly => true the records are still editable.

Actions #8

Updated by Gerrit Code Review almost 5 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/c/Packages/TYPO3.CMS/+/61490

Actions #9

Updated by Gerrit Code Review almost 5 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61490

Actions #10

Updated by Gerrit Code Review over 4 years ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61599

Actions #11

Updated by Georg Ringer over 4 years ago

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

Updated by Gerrit Code Review over 4 years ago

  • Status changed from Resolved to Under Review

Patch set 2 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/61599

Actions #13

Updated by Georg Ringer over 4 years ago

  • Status changed from Under Review to Resolved
Actions #14

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF