InstalledPackage::$path for metapackages should be NULL

Created on 3 March 2023, over 1 year ago
Updated 22 March 2023, over 1 year ago

Problem/Motivation

I think if you install a meta package with our fixture manipulator and then call \Drupal\package_manager\ComposerInspector::getInstalledPackagesList the InstalledPackage object will the project root as the path. It should probably be null.

this is probably a problem with getInstalledPackagesList but it could be the FixtureManipulator.

We can manually test by pointing getInstalledPackagesList at a real composer project with metapackage.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States tedbow Ithaca, NY, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024