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 198202

Summary: Autoformatting an already formatted web.xml makes the XML unsaved
Product: xml Reporter: kidnapper <kidnapper>
Component: XML MultiviewAssignee: Svata Dedic <sdedic>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description kidnapper 2011-04-29 10:46:42 UTC
Reproduce:
* Open a Web project, navigate to web.xml
* Press Alt + Shift + f, to reformat it
* Press Ctrl + s to save
* Press Alt + Shift + f again
* even though nothing changed, the editor will handle the file as unsaved and pressing the Ctrl + s will not do anything, the file remains in unsaved state.

Workaround:
modify something in the file and the save starts to work
Comment 1 Svata Dedic 2011-11-08 12:15:24 UTC
Logic, which handles save requests in XmlMultiview is at fault.
Comment 2 Svata Dedic 2011-11-15 12:53:33 UTC
Fixed as a part of P2 defect

*** This bug has been marked as a duplicate of bug 205103 ***