Bug #55731
closedInconsistent group field maxitems validation
100%
Description
During the validation when a group field value is stored in the database by the DataHandler the value for maxitems
defaults to 1 (as described in the TCA reference).
In the Backend form the maxitems value of a group field defaults to 10000. So if you do not enter a maxitems value you can add 10000 items to the form element but only one will be stored in the database.
Files
Updated by Gerrit Code Review about 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27378
Updated by Gerrit Code Review about 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27378
Updated by Gerrit Code Review about 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27378
Updated by Alexander Stehlik almost 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c578d47617f803c9ea167d88000e63a92c13fa93.
Updated by Alexander Stehlik almost 10 years ago
Attached Extension for testing. Test instructions:
- note that no "maxitems" config is present in the TCA
- Revert TYPO3 core patch
git revert c578d476
- Create a new test record
- Choose at least two files in the group field
- save the record
- See that only one record is stored in the database
- Undo revert
- See that it is not possible to add more than one record in the first place
Updated by Riccardo De Contardi over 6 years ago
- Status changed from Resolved to Closed