Breaking: #63406 - Respect rootLevel configuration in extbase queries ¶
See Issue #63406
The rootLevel of a table can be configured to 0, 1 or -1 in TCA, to define where records of a table can be found in the system:
- 0: In the page tree only
- 1: Only on the root page (pid 0)
- -1: Both, on the root page and in the page tree
Currently only 0 and 1 are respected by the
when building the pageId statement. This means that a rootLevel of -1
does not get any pageId statement at all and therefore ignores any
configuration for extbase plugins.
Custom records that have a configuration like this
are used in extbase plugins might have trouble finding the records if
is not configured properly.
Affected Installations ¶
Third party code using
with records within the
page tree and without a proper
to the page ids you want to find records from. 0 does not need to be included as
it is added to the statement automatically.