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.
If user open web.xml file, make a change, click save icon and close the web.xml file, Question dialog unexpectedly appears to confirm the recently save. STEPS TO REPORDUCE: 1. Install AppServer 9PE SDK 2. Install Netbean IDE 5.5 - nightly build 3. Open ..\samples\javaee5\enterprise\servlet-stateless-ear project 4. Open web.xml file > click Security tab > expand Login Configuration Change Login Configure type from None to Basic Realm Name: file 5. Click Save All icon > click x to close the web.xml file BUG: Question dialog appears Since I already click Save, the confirming from Question dialog is redundant
-> web/dd editor
It should be noted that this issue exists also for other elements in web.xml and also in other multiview editors (like ejb-jar.xml).
The problem here is that the components in web.xml and ejb-jar.xml editors don't modify the model until they lose focus. Since clicking 'save all' doesn't cause them to lose focus the file is not really modified and therefore changes are not actually saved at this point. When you close the file, the underlying framework flushes the changes to the file and hence the confirmation dialog is displayed. Fixing this would require extensive changes (I'd need to either change all components in web.xml and ejb-jar.xml editors to modify the file immediately or to modify the xml/multiview framework) and it would be quite risky to implement these changes for 5.5. I'm therefore setting the TM to Dev.
Needs to be addressed post 6.1.
Still happens in NB 6.8 dev builds...
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss