#98293doktype for mount page shown above page tree even if enable_mount_pids => false
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
-
Riccardo De Contardi commented <span data-processor="relativetime" data-value="2023-07-09T17:03:15+00:00" > 07/09/23, 17:03 </span>
-
S P commented and changed TYPO3 Version
1012 <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.
-
S P commented and changed TYPO3 Version
1213 <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.
-
Gerrit Code Review pushed patch set 1 for main to change 97694 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-16T16:40:03+00:00" > 11/16/26, 16:40 </span> -
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 = 7in 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 oldoptions.pageTree.doktypesToShowInNewPageDragAreaoption 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
-
Gerrit Code Review pushed patch set 1 for 14.3 to change 97777 <span data-processor="relativetime" data-value="2026-11-18T07:35:44+00:00" > 11/18/26, 07:35 </span>
-
Oliver Bartsch commented and changed status
Under ReviewResolved done0 %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.
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]'option2) I verified that
'enable_mount_pids' => falsehas been written onlocalConfiguration.php3) 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?