Bug #56060

TCA type inline readOnly

Added by Felix Kopp over 5 years ago. Updated almost 2 years ago.

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

0%

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

Related to TYPO3 Core - Bug #23975: TCAtree config option readOnly = 1 has no effect Closed 2010-11-07
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. Rejected 2018-12-02

History

#1 Updated by Markus Hofmann about 5 years ago

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

#2 Updated by Felix Oertel over 4 years ago

  • Status changed from New to Accepted

Still valid for current master.

#3 Updated by Daniel Goerz about 3 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?

#4 Updated by Vladimir Falcon almost 3 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.

#5 Updated by Alexander Opitz over 2 years ago

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

#6 Updated by Eric Chavaillaz about 2 years ago

Yes, I can confirm this bug...

#7 Updated by Sebastian Fischer almost 2 years ago

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

Also available in: Atom PDF