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 - Autoformatting an already formatted web.xml makes the XML unsaved
Summary: Autoformatting an already formatted web.xml makes the XML unsaved
Status: RESOLVED DUPLICATE of bug 205103
Alias: None
Product: xml
Classification: Unclassified
Component: XML Multiview (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-29 10:46 UTC by kidnapper
Modified: 2011-11-15 12:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***