#103492TCA columnsOverrides not considered when creating new page by drag and drop
Description
When creating a page with the list view, the creation goes through the FormEngine and the DataProvider for columnsOverrides does the job.
When using the drag and drop feature in the PageTree this is bypassed and creates an inconsistent state.
I consider this a bug as one would expect default values to be the same regardless if created via drag and drop or list view.
Example:
$GLOBALS[‘TCA’][‘pages’][‘types’][‘1’][‘columnsOverrides’][‘backend_layout’][‘config’][‘default’] = ‘pagets__1_column_intro’;
I want all pages of doktype “1” to have a specific backend layout.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 2
History 7
-
Benjamin Franzke changed Related to #104646 <span data-processor="relativetime" data-value="2024-10-07T14:33:08+00:00" > 10/07/24, 14:33 </span>
-
Andreas Kießling commented <span data-processor="relativetime" data-value="2025-01-21T15:22:41+00:00" > 01/21/25, 15:22 </span>
-
Georg Ringer changed status
NewAccepted <span data-processor="relativetime" data-value="2025-04-21T10:31:28+00:00" > 04/21/25, 10:31 </span> -
Georg Ringer commented <span data-processor="relativetime" data-value="2025-04-22T04:09:13+00:00" > 04/22/25, 04:09 </span>
reason is that the payload is
data[pages][NEW316e3520][pid]: 329 data[pages][NEW316e3520][title]: test data[pages][NEW316e3520][doktype]: 1
which explains why the override doesn’t work here
-
Benni Mack changed Related to #101435 <span data-processor="relativetime" data-value="2025-04-22T10:02:46+00:00" > 04/22/25, 10:02 </span>
-
Benni Mack commented and changed status
AcceptedNeeds Feedback <span data-processor="relativetime" data-value="2025-04-22T10:03:05+00:00" > 04/22/25, 10:03 </span>I think this is a duplicate of #101435 – and I tend to close this as duplicate. is that OK?
-
Benni Mack commented and changed status
Needs FeedbackClosed <span data-processor="relativetime" data-value="2026-01-22T13:29:05+00:00" > 01/22/26, 13:29 </span>This bug is now fixed with commit 4930c561853 and issue #101435 and #94004.
Just tested it.
Would be great to get this working :)
I have a RTE field for a specific doktype in the pages table and need to set a default value for it. But having it for all doktypes will just add junk to the database.