Issue Bug Closed

#103492TCA columnsOverrides not considered when creating new page by drag and drop

Nikita Hovratov 03/27/24, 09:56 updated 01/22/26, 13:29

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.

History 7

  1. Andreas Kießling commented <span data-processor="relativetime" data-value="2025-01-21T15:22:41+00:00" > 01/21/25, 15:22 </span>

    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.

  2. 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

  3. Benni Mack commented and changed status Accepted Needs 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?

  4. Benni Mack commented and changed status Needs Feedback Closed <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.