[TYPO3-core] RFC: #13670: Performance optimization: change while(list() to foreach()

Alexander Stehlik alexander.stehlik at googlemail.com
Fri Jan 7 17:17:44 CET 2011


Hi,

+1 for testing the patch attached to
http://bugs.typo3.org/view.php?id=14432

I attached the patch from the related bug report.

2011/5/27 TYPO3 core team <typo3-team-core at lists.typo3.org>
>
> REMINDER.
>
> Stefan Geith schrieb:
> > 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
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Before posting to this list, please have a look to the posting rules
> > on the following websites:
> >
> > http://typo3.org/teams/core/core-mailinglist-rules/
> > http://typo3.org/development/bug-fixing/diff-and-patch/
> > _______________________________________________
> > TYPO3-team-core mailing list
> > TYPO3-team-core at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core

--
Alexander Stehlik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_replace_single.patch
Type: text/x-diff
Size: 1280 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110107/a4b60f04/attachment.patch>


More information about the TYPO3-team-core mailing list