This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 258978 - Upgrade to 8.1 composer plugin creates phantom project overrides existing project settings inaccessible
Summary: Upgrade to 8.1 composer plugin creates phantom project overrides existing pro...
Status: RESOLVED DUPLICATE of bug 256585
Alias: None
Product: php
Classification: Unclassified
Component: Composer (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-22 17:57 UTC by joememberships
Modified: 2016-04-25 05:37 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description joememberships 2016-04-22 17:57:24 UTC
Upgraded from Netbeans 8.0.2 to 8.1

Had existing project that contains composer.json file.

The name of the Netbeans project and the name entry in the composer.json file are different. 

After upgrade, all files in or below directory containing composer.json are affected.

When a file is opened it is associated with a non-existent project using the name from the composer.json file.

Under the "File" menu the following entries are grayed out:
Close Project (Composer Project Name)
Close Other Projects
Project Properties (Composer Project Name)

The two workarounds that I've come up with are:
1) remove or rename the composer.json file.
2) Deactivate the Composer plugin.
Comment 1 joememberships 2016-04-22 20:51:33 UTC
This also happens with bower.json files. Not sure what plugin would need to be deactivated.
Comment 2 Tomas Mysik 2016-04-25 05:37:33 UTC
Yes, you are right. We are doing our best to fix all issues that are related to this feature.

Thanks for reporting and sorry for inconveniences.

*** This bug has been marked as a duplicate of bug 256585 ***