[TYPO3-core] RFC: #14430: disable_controls = list makes fields 'write_once'
Stefan Geith
typo3dev2010.nospam1 at geithware.de
Wed May 19 12:22:34 CEST 2010
This is an SVN patch request.
Type: bugfix
Bugtracker references:
http://bugs.typo3.org/bug_view_page.php?bug_id=14430
Branches:
trunk
Problem:
If you set
'disable_controls'=>'list'
you can _once_ upload an image (or file). But because of a missing
Delete-Button you never are able to change this image (or file) later.
Solution:
1) 'disable_controls'=>'list'
should only remove the list, not the delete-button.
2) 'disable_controls'=>'list,delete'
should only remove the list AND the delete-button.
Note:
Hope, this makes it into 4.4, because 'disable_controls=list'
is simply unusable without a delete-button ...
Another solution would be, to have an option
for overwriting files, if maxitems=1.
I have a patch for that in http://bugs.typo3.org/view.php?id=14432
But that is a new feature, and I think it wont make it into 4.4.
Patch attached.
/Stefan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0014430_disable_controls_list.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100519/1e5897ae/attachment.asc>
More information about the TYPO3-team-core
mailing list