#93263Creating a new page via pagetree context menu 'New' does not apply TCAdefaults
Description
TSconfig has:
TCAdefaults {
pages {
hidden = 1
}
}
If you use the context menu in the page tree to create a new page with the option ‘New’ it will open a new page record form which has the field hidden set to 0. The patch in #89211 applies the TSconfig before using the incoming fields, but this won’t help as the value was already submitted.
Use case: no matter how you create a new page (drag’n‘drop, context menu, wizard, …) the default values for that site should be applied at first. With the ‘New’ context menu option the editor can change those defaults if they like
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 5
-
Benni Mack changed Related to #93793 <span data-processor="relativetime" data-value="2021-04-24T19:32:14+00:00" > 04/24/21, 19:32 </span>
-
Jan Delius commented <span data-processor="relativetime" data-value="2021-05-19T11:47:49+00:00" > 05/19/21, 11:47 </span>
Benni Mack wrote in #note-2:
> Hey Jigal,
>
> just a side-note as I stumbled over this problem as well recently. this is connected to this “useColumnsForDefaultValues” TCA option which takes the “neighbouring row” to use this as preset (which I find very confusing).This is very confusing, especially when it reacts differently via drag’n‘drop.
-
Benni Mack commented <span data-processor="relativetime" data-value="2021-05-19T11:49:25+00:00" > 05/19/21, 11:49 </span>
Jan Delius wrote in #note-3:
> Benni Mack wrote in #note-2:
> > Hey Jigal,
> >
> > just a side-note as I stumbled over this problem as well recently. this is connected to this “useColumnsForDefaultValues” TCA option which takes the “neighbouring row” to use this as preset (which I find very confusing).
>
>
> This is very confusing, especially when it reacts differently via drag’n‘drop.I agree, but as you can imagine this wasn’t my idea either ;) This side-effect / feature goes back to TYPO3 4.2 (introduction with IRRE). Very tiresome to find these things and then takes a lot of time to fix it properly.
-
Georg Ringer commented and changed status
NewClosed <span data-processor="relativetime" data-value="2026-10-02T19:53:23+00:00" > 10/02/26, 19:53 </span>just tested this on main
TCAdefaults { pages { subtitle = test } }and that works fine. therefore closing issue
Hey Jigal,
just a side-note as I stumbled over this problem as well recently. this is connected to this “useColumnsForDefaultValues” TCA option which takes the “neighbouring row” to use this as preset (which I find very confusing).