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 84444 - Do Refactor should save changes
Summary: Do Refactor should save changes
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Nam Nguyen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-07 15:09 UTC by Ivan Sidorkin
Modified: 2006-09-19 10:12 UTC (History)
3 users (show)

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 Ivan Sidorkin 2006-09-07 15:09:14 UTC
build 060905
java 1.6

- create Java Application
- add Purchase Order schema
- select Elements -> purchaseorder
- in context menu fo purchase order select Refactor->Safely Delete
- press Next button
- press Do Refactor
- refactoring done
- close newpo.xsd and discard saving changes
schema closed and all refactoring changes lost

Do Refactor should save changes as it happends on refactoring java class
Comment 1 Nam Nguyen 2006-09-16 18:07:28 UTC
Fix by also include the model with the renamed component in to save list.

/cvs/xml/refactoring/src/org/netbeans/modules/xml/refactoring/impl/Attic/RefactoringUtil.java,v
 <--  RefactoringUtil.java
new revision: 1.1.2.16; previous revision: 1.1.2.15
Comment 2 Ivan Sidorkin 2006-09-19 10:12:04 UTC
verified in 060918_1