Bug #82980
closedHandling of mixed string and 0 broken for keepItems and removeItems page ts
100%
Description
When having a field in TCA which has items with integer values and string values, then it is not possible
to reliably remove the item with "0" value.
When using keepItems=foo, the item with value "0" will stay.
When using removeItems=foo, the item with value "0" will also be removed
This can be tested with news extension and the type field, which holds integer values (including 0) for default news
and string values, when news is extended.
TCEFORM.tx_news_domain_model_news.type.removeItems = CustomNewsType
will also remove default news type (which is 0)
TCEFORM.tx_news_domain_model_news.type.keepItems = CustomNewsType
will NOT remove default news type
Updated by Gerrit Code Review about 7 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/54623
Updated by Gerrit Code Review about 7 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54626
Updated by Helmut Hummel about 7 years ago
- Related to Bug #70956: Behavior of keepItems changed added
Updated by Helmut Hummel about 7 years ago
- Related to Bug #76242: Special Menus removed from new content element wizard if TSconfig menu_type.keepItems = 1,2 added
Updated by Helmut Hummel about 7 years ago
- Related to Bug #75834: removeItems, backendLayouts, pageTSconfig added
Updated by Helmut Hummel about 7 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset c1543fc2d69dd40c22cc18df55f9b7db95006654.