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.
Summary: | Confirmed should not be asked after actual save happened | ||
---|---|---|---|
Product: | javaee | Reporter: | davisn <davisn> |
Component: | DD Editor | Assignee: | issues@javaee <issues> |
Status: | RESOLVED WONTFIX | ||
Severity: | blocker | CC: | pslechta |
Priority: | P4 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
davisn
2006-06-19 23:12:05 UTC
-> 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 |