Bug #70275
closedStory #69617: FormEngine bugs
Default-Values in MM-Relations are not resolved correctly
100%
Description
Because Default values in the new FormEngine are set via DatabaseRowInitializeNew the value is set to ['databaseRow'][FIELD_NAME]
However, for MM-Relations like category tree this will then fail in TcaSelectItems because it tries to retrieve the data via RelationHandler but as the event itself does not yet exist and the values in the MM table don't exist yet either, this will return an empty array.
Updated by Gerrit Code Review over 9 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 http://review.typo3.org/43727
Updated by Andreas Allacher over 9 years ago
Steps to reproduce:
1.) Activate Page Categorization, e.g. by using defaultCategorizedTables with pages
2.) Add some Sys categories
3.) Add Page Ts-Config: TCAdefaults.pages.categories = UID-List
4.) Create a new page
Prior to the patch this will result in no items selected.
With the patch the items added with step 3 will be added
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43727
Updated by Gerrit Code Review over 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43727
Updated by Gerrit Code Review over 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43727
Updated by Gerrit Code Review over 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43727
Updated by Gerrit Code Review over 9 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43727
Updated by Gerrit Code Review over 9 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43727
Updated by Gerrit Code Review over 9 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/43727
Updated by Andreas Allacher about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f8e7758a9da080f6fd492aad0310cf6fea6bc12d.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed