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.
You are messing up the project source page with the page copied on the web server for debugging. After a while of editing the current editing page does not point to the project souce page anymore, but to the page on the web server. I think that you are not resetting the current directory to the project source after you have copied the files to the web server.
I see you open the web server page for debugging. Please add some visual feedback to indicate that the page shown is that of the wed server and not the one in the project source space. This will prevent changing the wrong page. Please close
If there is opened the web server page for debugging (instead of the source one) then its a bug and this issue shouldn't be closed. On the other hand I'm not able to reproduce, so please try to find the the way how to let me setup the php project to reproduce it.
This bug is very annoying and misleading. Very easy to reproduce: - install x-debug - create some test php file - start debugging it === You will see that Netbeans open another editor instance of this file. This new file instance wouldn't have LOCAL HISTORY. If you change that file, changes will be done only on server directory. Thus you will loose changes if update sever or restart Netbeans (NB) and edit this file. I lost some changes couple times. It wasn't happening with some previous NB version. Please fix ASAP. Please, let me know if you have any questions. Regards, Vlad
Addition to my previous email: You should set break point and start debugging to see that NB opening another instance of the file. Initial file will have break point (reg line) and the new instance have just green line highlighting current debugging line. Regards, Vlad
*** Issue 158612 has been marked as a duplicate of this issue. ***
thanks for your reports guys, I would like to fix it, increased priority to P2 and as I declared I don't know ho to reproduce exactly, so would be great if you could provide either your project(MyProject) or project metadata(nbproject) and send it to me. You should probably see similar file layout: MyProject |-- index.php `-- nbproject |-- configs | |-- scr.properties | `-- web.properties |-- private | |-- config.properties | |-- configs | | |-- scr.properties | | `-- web.properties | `-- private.properties |-- project.properties `-- project.xml I mean pack it and attach to this issue (just click on this link http://www.netbeans.org/issues/createattachment.cgi?id=156220), thanks
Created attachment 77126 [details] test case for issue 156220 as requested
thanks for attachment, not reproducible on linux && mac but reproducible on WINDOWS. Hopefully will be fixed soon
Fixed, "/" versus "\" mismatch http://hg.netbeans.org/main/rev/8a1c6facd678
Integrated into 'main-golden', will be available in build *200902220201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8a1c6facd678 User: Radek Matous <rmatous@netbeans.org> Log: #156220 PHP Save files
Integrated into 'main-golden', will be available in build *200902241401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/39dc320bcf65 User: Radek Matous <rmatous@netbeans.org> Log: source file and web server URI mapping related to #156220, #152390