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 212181 - File from include path doesnt close when I close a project
Summary: File from include path doesnt close when I close a project
Status: RESOLVED INVALID
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-08 09:58 UTC by mrpc
Modified: 2012-05-09 03:49 UTC (History)
0 users

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 mrpc 2012-05-08 09:58:05 UTC
Step to reproduce:
1. Open a project
2. Make sure that it has some folder included in it's PHP Include Path (or in Global PHP include path)
3. Open a file from the include path (I do it using the projects window -> include path etc)
4. When it's open, close the project. 

For me, all project files close, except the one from the include path.
I don't know if it is a bug or it is supposted to work this way...

Product Version: NetBeans IDE Dev (Build 201205060400)
Java: 1.6.0_31; Java HotSpot(TM) 64-Bit Server VM 20.6-b01-415
System: Mac OS X version 10.7.3 running on x86_64; MacGreek; el_GR (nb)
Comment 1 Jesse Glick 2012-05-08 13:56:18 UTC
Depends on whether or not the PHP project uses markExternalOwner to treat the included file as "owned". Assuming "include path" has the same meaning as in C/C++, it should not, and this is not a bug.
Comment 2 Tomas Mysik 2012-05-09 03:49:14 UTC
(In reply to comment #1)
> Assuming "include path" has the same meaning as in
> C/C++, it should not, and this is not a bug.

Exactly, it is not a project file so it should not be closed.

Thanks for reporting.