Bug #78479
closedFAL field (in flexform) with minitems=1 and maxitems=1 has no possibility to add image after deleting the previous one
0%
Description
Hi,
I've noticed a strange behavior when using File Abstraction Layer and set the maxitems. For example something like this:
<minitems>1</minitems> <maxitems>1</maxitems>
There is no possibility to change the images later on because the "Add image" Button is missing (when the max allowed imagese are reached). If I delete an image there is still no button and therefore no change to add a new image.
Please see images attached for better understanding.
TYPO3 7.6.11
DCE 1.3.7
Thanks a lot!
Files
Updated by Armin Vieweg almost 8 years ago
You are right this is a bug. But not in DCE, in TYPO3's form engine. It still occures in TYPO3 8.5. I remember that I've reported this bug 1-1,5 years ago and it was fixed... Had this case min=1/max=1 too. However, I move this issue to TYPO3 issue tracker. Thanks for reporting.
Updated by Armin Vieweg almost 8 years ago
- Project changed from 2185 to TYPO3 Core
- Subject changed from File Abstraction Layer with maxitems - Add image Button missing to FAL field (in flexform) with minitems=1 and maxitems=1 has no possibility to add image after deleting the previous one
- Category set to FormEngine aka TCEforms
- TYPO3 Version changed from 7 to 8
- PHP Version set to 7.0
- Is Regression set to No
Updated by Armin Vieweg almost 8 years ago
This issue has already been fixed (#72294) and occures again.
Updated by Riccardo De Contardi over 6 years ago
- Related to Bug #77972: Missing upload buttons in inline field added
Updated by Christian Buelter about 4 years ago
- Related to Bug #92381: Button "Create new" does not re-appear for inline (IRRE) elements after reaching maxitems and removing one element added
Updated by Oliver Bartsch about 4 years ago
- Status changed from New to Closed
Hi, this is fixed with #91808. I will therefore close this issue. If you think there is still something not working, please let me know and I will re-open the ticket.
Updated by Oliver Bartsch about 4 years ago
- Related to Bug #91808: Nested IRRE with maxitems hides last inline control button / toggles inline control buttons wrong added
Updated by Anonymous almost 4 years ago
- TYPO3 Version changed from 8 to 10
- PHP Version changed from 7.0 to 7.3
Unfortunately I have to reopen this issue. It just happened again on a few projects, where the editor was not able to change the image, because the buttons did not reappear after deleting the old image.
because of minitems = 1 you are also not able to save to get the buttons back. So the only possibility to change the image is to delete the whole content element and create a new one with another image.
We solved it right now by setting minitems = 0 and telling the editors to please always add an image, but that is not the solution we would like to have ;)
Updated by Jan Kornblum over 3 years ago
I can confirm this is fixed in 10.4.13 with #91808 . Just testet.