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 some changes are made in web.xml/ejb-jar.xml editor and user discards the changes (Close -> Discard) several problems arise : 1. data model (schema2beans model) is not changed until editor is reopened again, which is bad. 2. if the editor is reopened again it bahaves like not saved (issue 57313) 3. if editor is saved and edited again the save button is "forever" disabled Either 1. or 2. is sufficient to be a P2.
Fixed in trunk. Diffs : http://xml.netbeans.org/source/browse/xml/multiview/src/org/netbeans/modules/xml/multiview/XmlMultiViewDataObject.java?r1=1.43&r2=1.44 http://xml.netbeans.org/source/browse/xml/multiview/src/org/netbeans/modules/xml/multiview/XmlMultiViewEditorSupport.java?r1=1.33&r2=1.34
Any implications on http://www.netbeans.org/issues/show_bug.cgi?id=57466 maybe not. ?
There is another problem (similar to problem nr.3), not fixed yet. 4.problem : Close web project with modified web.xml (use Close -> Discard All option in Close dialog) and open it (I mean web project) again. - web.xml file is modified despite discarding changes - the save button is "forever" disabled. I noticed the same behaviour with sun-web.xml. Although problems 1-3 were resolved, we should resolve the forth problem to resolve the whole issue successfully.
The last problem depends on issue 57610.
Fixed also a problem with closing deserialized editor: The deserialized editor (in XML view) can be closed without a warning. Implemented in the same way as in Graphical view. Diff: http://xml.netbeans.org/source/browse/xml/multiview/src/org/netbeans/modules/xml/multiview/XmlMultiViewElement.java?r1=1.21&r2=1.22
I've created a separate issue 57626 for problem nr.4. Thus, I can remove the dependency on issue 57610. All other problems are fixed in trunk.
Fixed in trunk - correcting Resolution and Target milestone.
Verified in 200504101800 trunk build.
It is ready for release41 branch integration from QE point of view. Now waiting only for patch review.
I reviewed the fix and it is OK.
Fixed in 41. Diffs: http://xml.netbeans.org/source/browse/xml/multiview/src/org/netbeans/modules/xml/multiview/XmlMultiViewElement.java?r1=1.20.6.1&r2=1.20.6.2 http://xml.netbeans.org/source/browse/xml/multiview/src/org/netbeans/modules/xml/multiview/XmlMultiViewDataObject.java?r1=1.43&r2=1.43.2.1 http://xml.netbeans.org/source/browse/xml/multiview/src/org/netbeans/modules/xml/multiview/XmlMultiViewEditorSupport.java?r1=1.33&r2=1.33.2.1
Verified in 4.1 build 200504142205.