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 77333 - Modified state confused after undo operation
Summary: Modified state confused after undo operation
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Nathan Fiedler
URL:
Keywords:
: 80638 (view as bug list)
Depends on:
Blocks: 81655
  Show dependency tree
 
Reported: 2006-06-02 19:46 UTC by Nathan Fiedler
Modified: 2006-08-08 21:42 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 Nathan Fiedler 2006-06-02 19:46:23 UTC
Create a new XML schema file, then add a new component in the Schema view.
Notice that the title bar indicates the document is modified (* appears in the
title) and the Save item in the File menu is enabled. Now invoke Undo from the
Edit menu -- the document is clean and Save is disabled (good so far). Now add
another component -- document is _not_ modified, and _not_ saveable. This seems
wrong.
Comment 1 Nathan Fiedler 2006-07-21 02:26:17 UTC
*** Issue 80638 has been marked as a duplicate of this issue. ***
Comment 2 Nathan Fiedler 2006-07-24 22:47:40 UTC
Fixed in release55 branch by leaving the document as modified when undoing
changes back to the last save point. Due to issue 81023, this is the best
solution we have at the moment. Several hacks were attempted, all of which failed.

/cvs/xml/schema/core/src/org/netbeans/modules/xml/schema/core/multiview/SchemaColumnViewMultiViewElement.java

new revision: 1.1.2.23; previous revision: 1.1.2.22
Comment 3 Nathan Fiedler 2006-08-01 01:21:18 UTC
Meant to mark this verified, not closed.
Comment 4 Nathan Fiedler 2006-08-01 01:21:56 UTC
Going through the paces...
Comment 5 Nathan Fiedler 2006-08-01 01:22:12 UTC
Verified