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 257488

Summary: Ignored project folder
Product: php Reporter: Laul0
Component: ComposerAssignee: Tomas Mysik <tmysik>
Status: RESOLVED INVALID    
Severity: normal CC: git, josef.sabl, ovrabec
Priority: P2 Keywords: REGRESSION
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 253351    
Bug Blocks:    
Attachments: IDE log

Description Laul0 2016-01-08 18:03:46 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Mac OS X version 10.11.2 running on x86_64
Java; VM; Vendor = 1.8.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.25-b02

Reproducibility: Happens every time

STEPS:
  * Open Git Project with a folder named "vendor" (in my case is a PHP project)
  * This folder is ignored by default and we cannot unignore it

ACTUAL:
  nothing happens

EXPECTED:
  message pops up

NOTE:
  No problem with the previous version of Netbean
Comment 1 Laul0 2016-01-08 18:03:53 UTC
Created attachment 158070 [details]
IDE log
Comment 2 Ondrej Vrabec 2016-01-08 18:35:16 UTC
What's in .gitignore file?
Comment 3 Laul0 2016-01-08 18:38:31 UTC
# Exclude every logs project but not the folder itself
!/app/foo
/app/logs/*

# Exclude every Smarty Template compiled but not the folder
!/app/template_c
/app/template_c/*

# Exclude every Smarty cache files but not the folder
!/app/cache
/app/cache/*

# Exclude every Uploaded files but not the folder
!/src/Formation/Upload
/src/Formation/Upload/*

# Exclude the NetBeans private part of project
/nbproject/private/
Comment 4 Laul0 2016-01-08 19:01:46 UTC
I precise I haven't got this issue with Netbeans 8.0.2
Comment 5 Ondrej Vrabec 2016-01-09 10:29:42 UTC
org.netbeans.modules.php.composer.SharabilityQueryImpl marks /vendor folder as NOT_SHARABLE, seems to be result of fixing bug 253351. Passing to PHP to evaluate.
Comment 6 Ondrej Vrabec 2016-01-09 10:30:17 UTC
*** Bug 256944 has been marked as a duplicate of this bug. ***
Comment 7 Tomas Mysik 2016-01-11 07:36:59 UTC
As written by Ondra, this works as designed. It should still be possible to version the vendor folder manually.

Thanks.