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 18411 - Can't undo if system ID changed to invalid entry in tree view.
Summary: Can't undo if system ID changed to invalid entry in tree view.
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: TAX (show other bugs)
Version: 3.x
Hardware: PC Other
: P4 blocker (vote)
Assignee: issues@xml
URL:
Keywords: UI
Depends on: 15791
Blocks:
  Show dependency tree
 
Reported: 2001-12-06 13:20 UTC by ats37
Modified: 2007-11-30 15:18 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ats37 2001-12-06 13:20:41 UTC
Create a new XML file from the "XML with DTD" template.  Open it in the tree 
view editor and select the doctype node immediately below the comment.  Delete 
the "<DEFAULT>" entry from the system ID (or replace it with some junk text).  
Immediately you tab out of the field, the tree changes to a single "Parse fatal 
error..." node, which is to be expected.  However, there's then no way to 
change the invalid entry, and the Undo edit menu item is disabled...  The only 
way to fix it is to reopen it the text editor and change it there.  Since this 
situation could occur simply because of a mistyped URL or filename, it would be 
better if there was a way to correct it straight away within the tree view.
Comment 1 _ lkramolis 2001-12-06 14:30:43 UTC
I do not know, how to implement UnDo in Customizer component -- ui
master could add comment.

Undo/redo action on tree could help (issue 15791).
Comment 2 _ pkuzel 2002-06-03 12:27:32 UTC
Let these are considered while planning next release.
Comment 3 Marek Grummich 2002-07-19 17:31:58 UTC
Target milestone was changed from not determined to TBD
Comment 4 _ pkuzel 2003-03-17 17:12:58 UTC
How to address undo in bean customizers?
Comment 5 Mikhail Matveev 2007-11-23 16:55:33 UTC
Fixed long time ago
Comment 6 Mikhail Matveev 2007-11-30 15:18:40 UTC
Verified - fixed long time ago