-
-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Info Error with Composer 1.7.0 lock files as no longer requires dist and source attributes #311
Comments
Thanks, @dg! That is a better solution than I was thinking of. |
You're welcome :) |
Tagged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version: 2.4.14 - 2.5.1
Bug Description
Starting with Composer 1.7.0, the
source
anddist
attributes of a package are no longer added to thecomposer.lock
file for metapackages. See composer/composer#7501 Therefore the info panel errors if you have a metapackage in yourcomposer.lock
such as https://github.com/Roave/SecurityAdvisories. Also see #287 for an older, related issue.Steps To Reproduce
composer self-update
to update to composer 1.7.0 and require a metapackage such ascomposer require --dev roave/security-advisories:dev-master
. View the info panel where you should see an error.Expected Behavior
No error in the info panel, show installed composer packages.
Possible Solution
Don't assume
$package->source
and$package->dist
are set attracy/src/Tracy/assets/Bar/info.panel.phtml
Line 98 in 02b60e1
tracy/src/Tracy/assets/Bar/info.panel.phtml
Line 107 in 02b60e1
The text was updated successfully, but these errors were encountered: