Issue Bug New Stale

#109723Missing dependencies of typo3/cms-backend

Daniel Kruse 04/28/26, 08:50 updated 09/11/26, 09:39

Description

Hello everyone,
we have 2 Extension, that only require “typo3/cms-backend” to be installed. (changes some styling in backend)
With the composer installation with “—no-dev” we get this error-messages:

Cannot autowire service "TYPO3\CMS\Core\Authentication\Mfa\Provider\RecoveryCodesProvider": argument "$viewFactory" of method "__construct()" references interface "TYPO3\CMS\Core\View\ViewFactoryInterface" but no such service e  
  xists. Did you create an instantiable class that implements this interface? 
Cannot autowire service "TYPO3\CMS\Core\LinkHandling\PageTypeLinkResolver": argument "$linkFactory" of method "__construct()" has type "TYPO3\CMS\Frontend\Typolink\LinkFactory" but this class was not found.

The first message is due to no implementation of the ViewInterface is available, can be fixed with requiring cms-install.
The reason for the second message is, that the __construct() contains this lines (shortend):

use TYPO3\CMS\Frontend\Typolink\LinkFactory;

public function __construct(
        protected LinkFactory $linkFactory
) {...}

this can be fixed with requiring cms-frontend

i will fix my problem with this requires, but maybe you come to the conclusion to improve this behavior, so i can move these back to “require-dev”:

"typo3/cms-frontend": "^11.5 || ^12.4 || ^13.0 || ^14.3",
"typo3/cms-install": "^11.5 || ^12.4 || ^13.0 || ^14.3"

thanks for looking into this,
daniel

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] Missing dependencies of typo3/cms-backend Resolves: #109723 Releases: main

History 3

  1. Garvin Hicking commented and changed status New Needs Feedback <span data-processor="relativetime" data-value="2026-04-28T13:29:24+00:00" > 04/28/26, 13:29 </span>

    Hey,

    yes indeed we have annoying dependencies between EXT:core, backend and frontend – so for now, `typo3/minimal` (https://packagist.org/packages/typo3/minimal) is really what’s needed for a bootstrap.

    Are you saying this set of dependencies worked for you in TYPO3 v13 or is this a general wish for new usage?

  2. Daniel Kruse commented <span data-processor="relativetime" data-value="2026-04-28T13:57:18+00:00" > 04/28/26, 13:57 </span>

    Hello Garvin,
    in TYPO3 v13.4 (and before) it works fine, the issue reported is only in TYPO3 v14