Bug #59383
closedCreate page via drag'n'drop does not respect TCAdefaults from UserTS
Added by Konrad Schiertz about 10 years ago. Updated over 5 years ago.
100%
Description
When creating a new page via drag'n'drop in the pagetree the configured TCAdefaults settings won't be applied to the newly created page.
For example tested with:
TCAdefaults.pages { # set page to visible hidden = 0 # Hide page if no translation for current language exists l18n_cfg = 2 }
TYPO3 6.2.3
Updated by J. no-lastname-given over 9 years ago
I can confirm this bug in TYPO3 6.2.9 :(
You can set your TCAdefaults in pageTS. There it works, but bugfix would be great!
Updated by Riccardo De Contardi almost 9 years ago
Still valid for both 6.2.15 and 7.5-dev (latest master).
As stated in #46316, the bug only affects pages created with drag & drop from pagetree; it works if you use, for example, the list-view. And it works using PAGE TSConfig.
Updated by Benni Mack almost 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Mathias Schreiber almost 9 years ago
- Target version changed from 7 LTS to 8 LTS
Updated by Salvatore Eckel almost 8 years ago
I confirm this bug for 6.2.26, 7.6.9 and 7.6.10.
Is anyone working on it? o.O
Updated by Benni Mack over 7 years ago
- Target version changed from 8 LTS to next-patchlevel
Updated by Tymoteusz Motylewski about 6 years ago
- Category changed from TypoScript to Pagetree
Updated by Gerrit Code Review almost 6 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/58453
Updated by Jürg Blaser almost 6 years ago
Patch set 1 works for me. (TYPO3 8.7.19)
Updated by Markus Klein almost 6 years ago
@Blaser
Please use the Reply button at review.typo3.org for the patch linked above to vote and comment on the patch. Thanks.
(Login with your normal TYPO3 account)
Updated by Riccardo De Contardi over 5 years ago
- Related to Bug #82548: TCAdefaults not work on 2 positions added
Updated by Soren Malling over 5 years ago
My current findings
Found first issue. Inside `fillInFieldArray` of the DataHandler class the incomingFieldArray is merged with the fieldArray (the second containing data touched by TCAdefaults). Chaning the order of the two arrays from
`ArrayUtility::mergeRecursiveWithOverrule($checkValueRecord, $incomingFieldArray);`
to
`ArrayUtility::mergeRecursiveWithOverrule($incomingFieldArray, $checkValueRecord);`
gives the correct values
Updated by Josef Glatz over 5 years ago
- Has duplicate Bug #87089: TYPO3 Pagetree: New pages must respect TCAdefaults.pages.hidden = 0 and other properties added
Updated by Gerrit Code Review over 5 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/58453
Updated by Josef Glatz over 5 years ago
Should we update the desired TYPO3 version to 9 in this issue?
Updated by Gerrit Code Review over 5 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/c/Packages/TYPO3.CMS/+/58453
Updated by Gerrit Code Review over 5 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/58453
Updated by Benni Mack over 5 years ago
- Has duplicate Bug #87860: TCAdefaults does not work for pages with drag & drop added
Updated by Gerrit Code Review over 5 years ago
Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/59918
Updated by Guido Schmechel over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 49cfdfe822ea0339245822666488880166257c3c.