-
Christian Kuhn authored
Some PageRepositoryTest tests call getMenu() with a restricted set of select fields as second argument. Running this test without error suppression reveals the code accesses db fields like 'doktype' which are not fetched with a restricted field list. The patch changes the test method calls to not restrict the field list to fix the test, and adds a @todo in PageRepository to review the $fields argument with a future patch so the code does not rely on a possibly incomplete list of fields anymore. Resolves: #95634 Releases: master Change-Id: Ib4c6f2f22a4222b1383fcdbf554d4fe78c919626 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71632 Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Jochen <rothjochen@gmail.com> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Jochen <rothjochen@gmail.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
b5c631ed