#107978Add rudimentary test-case to load all backend modules and important features as "normal" backend user
Description
For each backend module and important feature there should be a rudimentary test-case to check if it is just loading as “normal” backend user.
Most development work happens in admin context. Running something as non-admin backend user might become silently broken.
E.g. code like this is broken for non-admin backend users only.
$this->getBackendUser()->isAdmin()
|| (
(
!($this->record[…] ?? false) /* <-- "Cannot use object of type TYPO3\CMS\Core\Domain\Record as array" */
…Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 1
History 3
-
Ayke Halder changed Related to #107977 <span data-processor="relativetime" data-value="2025-11-04T14:17:42+00:00" > 11/04/25, 14:17 </span>
-
Garvin Hicking commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2025-11-05T19:33:11+00:00" > 11/05/25, 19:33 </span> -
Garvin Hicking commented and changed status
Needs FeedbackClosed <span data-processor="relativetime" data-value="2026-11-09T18:14:53+00:00" > 11/09/26, 18:14 </span>I think having such “meta” tasks will never be closed. We’d need more specific issues, at best agentic rules that cover this via dev companion. Closing.
I’ve added https://docs.typo3.org/permalink/t3contribute:common-review-checks-acceptance to the contribution guide to encourage having this for new patches.
I guess that adding this for existing modules is a task we’ll unlikely find someone to actually implement it – or would you want to provide such a test case?