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.
Summary: | [50cat][navigator] Replacing whole document screws up its tree | ||
---|---|---|---|
Product: | xml | Reporter: | Jiri Kovalsky <jkovalsky> |
Component: | Code | Assignee: | Marek Fukala <mfukala> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Screenshot of invalid XML navigator content. |
Description
Jiri Kovalsky
2005-08-30 15:58:33 UTC
Created attachment 24367 [details]
Screenshot of invalid XML navigator content.
Luckily this has a workaround: use Delete between CTRL+C and CTRL+V keystrokes. *** Issue 64988 has been marked as a duplicate of this issue. *** This issue was reported by NetCAT 5.0 team member. Covered by XMLDocumentModelTest.testRemoveAndAddEntireDocumentContent. The problem seems to be in a wrong order of document elements in the internally stored set since the document is not marked as dirty after the delete/add of the content. This usecase is not so rare. Please fix this if possible. *** Issue 67831 has been marked as a duplicate of this issue. *** *** Issue 63337 has been marked as a duplicate of this issue. *** *** Issue 64983 has been marked as a duplicate of this issue. *** fixed Checking in xml/tageditorsupport/src/org/netbeans/modules/editor/structure/api/DocumentElement.java; /cvs/xml/tageditorsupport/src/org/netbeans/modules/editor/structure/api/DocumentElement.java,v <-- DocumentElement.java new revision: 1.5; previous revision: 1.4 done Checking in xml/tageditorsupport/src/org/netbeans/modules/editor/structure/api/DocumentModel.java; /cvs/xml/tageditorsupport/src/org/netbeans/modules/editor/structure/api/DocumentModel.java,v <-- DocumentModel.java new revision: 1.17; previous revision: 1.16 done Checking in xml/text-edit/src/org/netbeans/modules/xml/text/structure/XMLDocumentModelProvider.java; /cvs/xml/text-edit/src/org/netbeans/modules/xml/text/structure/XMLDocumentModelProvider.java,v <-- XMLDocumentModelProvider.java new revision: 1.11; previous revision: 1.10 done *** Issue 69614 has been marked as a duplicate of this issue. *** Verified in development build #200512202030 of NetBeans 5.0. |