Bug #70275
closed
Story #69617: FormEngine bugs
Default-Values in MM-Relations are not resolved correctly
Added by Andreas Allacher almost 9 years ago.
Updated almost 7 years ago.
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.
- 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
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
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
- Parent task set to #69617
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
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
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
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
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
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF