Project

General

Profile

Actions

Bug #59383

closed

Create page via drag'n'drop does not respect TCAdefaults from UserTS

Added by Konrad Schiertz almost 10 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Pagetree
Target version:
Start date:
2014-06-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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


Related issues 5 (0 open5 closed)

Related to TYPO3 Core - Bug #62257: TCAdefaults are not respected when creating a page via drag'n'dropClosed2014-10-15

Actions
Related to TYPO3 Core - Bug #46316: TCAdefaults in User tsconfig not working page created via pagetreeClosed2013-03-15

Actions
Related to TYPO3 Core - Bug #82548: TCAdefaults not work on 2 positionsClosed2017-09-24

Actions
Has duplicate TYPO3 Core - Bug #87089: TYPO3 Pagetree: New pages must respect TCAdefaults.pages.hidden = 0 and other propertiesClosed2018-12-06

Actions
Has duplicate TYPO3 Core - Bug #87860: TCAdefaults does not work for pages with drag & dropClosed2019-03-07

Actions
Actions #1

Updated by J. no-lastname-given about 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!

Actions #2

Updated by Riccardo De Contardi over 8 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.

Actions #3

Updated by Riccardo De Contardi over 8 years ago

  • Target version set to 7.5
Actions #4

Updated by Benni Mack over 8 years ago

  • Target version changed from 7.5 to 7 LTS
Actions #5

Updated by Mathias Schreiber over 8 years ago

  • Target version changed from 7 LTS to 8 LTS
Actions #6

Updated by Riccardo De Contardi about 8 years ago

  • Category set to TypoScript
Actions #7

Updated by Salvatore Eckel over 7 years ago

I confirm this bug for 6.2.26, 7.6.9 and 7.6.10.

Is anyone working on it? o.O

Actions #8

Updated by Benni Mack almost 7 years ago

  • Target version changed from 8 LTS to next-patchlevel
Actions #9

Updated by Georg Tiefenbrunn almost 7 years ago

Still present in version 8.7.1.

Actions #10

Updated by Ruud Silvrants over 6 years ago

Still confirms the bug on 8.7.4

Actions #11

Updated by Tymoteusz Motylewski over 5 years ago

  • Category changed from TypoScript to Pagetree
Actions #12

Updated by Gerrit Code Review over 5 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

Actions #13

Updated by Jürg Blaser over 5 years ago

Patch set 1 works for me. (TYPO3 8.7.19)

Actions #14

Updated by Markus Klein over 5 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)

Actions #15

Updated by Riccardo De Contardi over 5 years ago

  • Related to Bug #82548: TCAdefaults not work on 2 positions added
Actions #16

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

Actions #17

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
Actions #18

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

Actions #19

Updated by Josef Glatz over 5 years ago

Should we update the desired TYPO3 version to 9 in this issue?

Actions #20

Updated by Gerrit Code Review about 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

Actions #21

Updated by Gerrit Code Review about 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

Actions #22

Updated by Benni Mack about 5 years ago

  • Has duplicate Bug #87860: TCAdefaults does not work for pages with drag & drop added
Actions #23

Updated by Gerrit Code Review about 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

Actions #24

Updated by Guido Schmechel about 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #25

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF