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 226766 - File is open read-only if switching from PHP to HTML project
Summary: File is open read-only if switching from PHP to HTML project
Status: NEW
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-27 10:12 UTC by Vladimir Riha
Modified: 2013-03-04 17:14 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 Vladimir Riha 2013-02-27 10:12:20 UTC
I have 2 projects:
- HTML project and PHP project
- first run html file from HTML project with some line breakpoint that will be hit => file is opened/focus in ReadWrite mode => OK
- now run php file in PHP project in browser with NB integration
- run the original html file again

=> html file is opened as read only in IDE


I think it could be caused by the fact that each project is running on different server. While HTML project uses the default internal server, PHP is running on local Apache.

Workaround - close browser before running different project 


Product Version: NetBeans IDE Dev (Build web-main-9983-on-20130227)
Java: 1.7.0_15; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b03
System: Linux version 3.2.0-38-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Martin Entlicher 2013-03-04 17:14:24 UTC
Reproduced.
Running of a PHP project runs the JavaScript debugger as well (therefore Debug of a PHP project starts two debuggers (PHP and JS)). Thus there seems to be some influence between the two JS debuggers...