Review 14.3 Merged

94942[BUGFIX] Avoid removed getter in dependency check

Stefan Bürk CR +2 V +2 Normal +121 −1 updated 07/25/26, 08:44

Commit message

The `Extension` model of EXT:extensionmanager lost all its
getters when table `tx_extensionmanager_domain_model_extension`
has been freed from TCA and Extbase, exposing the data as
public properties since then. One call site has not been
migrated along: `DownloadController::checkDependenciesAction()`
still calls `Extension::getVersion()` while building the list
of dependencies which need to be fetched from the remote (TER)
before the extension itself can be installed.

Clicking "Import and Install" in the Extension Manager for a
TER extension with at least one unresolved extension
dependency therefore ends in a fatal error:

  Call to undefined method TYPO3\CMS\Extensionmanager\
  Domain\Model\Extension::getVersion()

`\Error` is not covered by the surrounding `catch (\Exception)`
in that action, so the whole request dies instead of rendering
the dependency resolve dialog.

The call now reads the public `version` property. A functional
test for the dependency check action is added, covering the
rendered download queue.

Note that neither the `PackageIdentifier` rework of this
controller nor its revert are involved here. Both left this
line untouched, it reads `getVersion()` unchanged since the
getter has been dropped, which is why all branches carrying
that removal are affected.

Review

  • Code review CR +2 Done
    • Stefan Bürk +2
  • Verified V +2 Done
    • Stefan Bürk +2
    • core-ci +1 CI

Issues 4

Files 3

Review log 34

  1. Stefan Bürk commented on patch set 1 07/25/26, 08:24

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 07/25/26, 08:33 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/105385

  3. Stefan Bürk voted on patch set 1 CR +2 V +2 07/25/26, 08:44

  4. Stefan Bürk merged patch set 2 07/25/26, 08:44