Issue Bug Resolved

#98293doktype for mount page shown above page tree even if enable_mount_pids => false

S P 09/08/22, 09:08 updated 11/18/26, 07:40

Description

In one of our setups we have set 'enable_mount_pids' => false in the LocalConfiguration.

However, in the “quick selection” above the page tree the mount page icon is still shown and can be dragged down to create a page with doktype = 7.
Editing and saving this page will set it back to doktype = 1 of course, because the doktype select field is correctly missing the mount point option. The TCA type showitem for doktype = 7 are correctly evaluated when opening the edit panel for the first time, however.

The quick selection bar above the page tree should not display the icon for doktype = 7 if 'enable_mount_pids' => false is set.

Reviews 2

History 68

  1. Riccardo De Contardi commented <span data-processor="relativetime" data-value="2023-07-09T17:03:15+00:00" > 07/09/23, 17:03 </span>

    I’m trying to reproduce this issue with 10.4.37 and I am having a bad time…

    1) From Install Tool I unchecked the '[FE][enable_mount_pids]' option
    2) I verified that 'enable_mount_pids' => false has been written on localConfiguration.php
    3) In the backend, I was still able to add a page with doktype=7 not only from the pagetree, but I’ve been able to create a page from List View and changed the doktype to 7 using the Page > Type dropdown..

    Am I doing something wrong?

  2. S P commented and changed TYPO3 Version 10 12 <span data-processor="relativetime" data-value="2024-10-16T08:33:28+00:00" > 10/16/24, 08:33 </span>

    Still valid on v12. Disabling mounts globally should implicitly disable the possibility to add them to the page tree.

  3. S P commented and changed TYPO3 Version 12 13 <span data-processor="relativetime" data-value="2024-12-19T11:09:05+00:00" > 12/19/24, 11:09 </span>

    Still so on TYPO3 v13.

    However, maybe I misinterpreted the meaning of this configuration. Seems it only affects ( and should only affect? ) the evaluation of mount points in the FE. This config seems not to be meant to disable the moints point globally. The pages TCA has no evaluation on this, doktype=7 is hardcoded into there.

    If this assumption is true, then the ticket can be closed. Maybe make it more clear in the docs, that this setting really does mean to only disable mounts in FE. Currently the doc is:

    > If enabled, the mount_pid feature allowing symlinks in the page tree (for frontend operation) is allowed.

    This “in the page tree” somehow suggests BE context, even if the config is in FE scope.

    (https://docs.typo3.org/m/typo3/reference-coreapi/13.4/en-us/Configuration/Typo3ConfVars/FE.html#confval-typo3-conf-vars-fe-enable-mount-pids)

  4. Oliver Bartsch commented <span data-processor="relativetime" data-value="2026-11-16T16:40:49+00:00" > 11/16/26, 16:40 </span>

    Hey,

    your second look is right. $GLOBALS['TYPO3_CONF_VARS']['FE']['enable_mount_pids'] only affects the frontend. It is read only by the page repository, rootline resolution, menu rendering and link generation. It decides whether mount points are resolved when pages are rendered. No backend code reads it, and the pages TCA always lists doktype 7. That’s why Riccardo could still pick “Mount point” in the Page Type field on 10.4.

    If editors shouldn’t create mount points, hide the page type for them. Use TCEFORM.pages.doktype.removeItems = 7 in page TSconfig, or remove the type from the allowed page types of the backend user group. On main the drag area above the page tree no longer has its own list (the old options.pageTree.doktypesToShowInNewPageDragArea option has been removed). It is built from the same processed TCA items as the Page Type field, so both settings hide the type in both places.

    I’ll still pushed a small patch that states more clearly that the setting has no effect in the backend.

    Thanks, Oli

  5. Oliver Bartsch commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-18T07:40:14+00:00" > 11/18/26, 07:40 </span>

    Applied in changeset commit:d390408b81b0b1ee6043a0a77bfa473588f1048d.