[TYPO3-core] RFC #11087: TCEForm does not replace the existing element if adding a new element to a field with maxitems=1

Oliver Hader oliver at typo3.org
Fri May 22 21:02:11 CEST 2009


Hi Benni,

due to the recent reports of misbehaviours in fields with the
possibility to select more than one element, I've reverted the changes
from SVN for the time being:
* TYPO3_4-2 (rev. 5480)
* Trunk (rev. 5481)

olly


Benjamin Mack schrieb:
> Hey devs,
> 
> this is a SVN patch request.
> 
> Type: bugfix
> 
> Branches: trunk
> 
> BT reference: http://bugs.typo3.org/view.php?id=11087
> 
> Problem:
> If you want to change a select-field in TCEforms with only one item
> (like the Storage Folder) where there is only one item allowed.
> 
> Steps to reproduce:
> * Edit the page properties
> * Select a page for a "storage folder" from the element browser
> * Select another item from the element browser, you'll get an error
> because there are no two items in the list (although you only see one).
> * Once you want to remove the first element, both are gone and you have
> to open up the element browser again
> 
> With this patch the second value replaces the first one when only one is
> allowed (maxItems).
> 
> All the best,
> Benni.


-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list