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 270352

Summary: With CoS turned on project is redeployed when editor tabs are switched without saving the edited file
Product: javaee Reporter: brettryan <brettryan>
Component: EditorAssignee: issues@javaee <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description brettryan 2017-04-11 02:11:25 UTC
Steps to reproduce
------------------

1. Open/create a spring MVC application
2. Run with CoS turned on using tomcat.
3. Open one controller and another file.
4. Edit the controller but do not save.
5. Switch the editor to the other file

Expected result
---------------
Nothing

Actual Result
-------------
project is redeployed, with the changes, even though the file was not saved.


I find it bizarre how the container is picking up the updated version even though I never saved the file.