Bug #88988
closedTables with "readOnly" set have delete-, copy- and cut-buttons in list view
100%
Description
When switching a table to readOnly-Mode via "$GLOBALS['TCA']['yourTable']['ctrl']['readOnly'] = 1" editing, deleting and copying items is no longer possible.
If you try to edit the item, there is a warning above the form informing the user, and the save- and delete-buttons are not displayed.
But in contrast when in list view, all buttons are not only visible, but clicking them seems to work as expected - e.g. when clicking on "delete" the prompt "are you sure" is shown and on confirm the item is faded out with the delete-animation: so the user has no chance to notice that the item doesn't really get deleted.
For tables with readOnly set, the related buttons shouldn't be shown in list view. If this is to complicated to achive, there should at least be an error message when clicking on one of them.
Updated by Georg Ringer over 4 years ago
- Status changed from New to Needs Feedback
which TYPO3 version are you using? this has been improved in 9.5.9, can you check that if not using already? otherwise please add a screenshot
Updated by Harald Glaser over 4 years ago
- % Done changed from 0 to 100
Thanks for the feedback - it was 9.5.8, with 9.5.9 everything works as expected. Sorry for the unnecessary alarm...
Updated by Riccardo De Contardi over 4 years ago
- Status changed from Needs Feedback to Closed
@Harald Glaser Don't worry and thank you for your quick answer; I close this issue as resolved.
If you think that I've misunderstood or experience the issue again please reopen it or ping me. Thank you.