Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326989 - Artifact refactoring problems
Summary: Artifact refactoring problems
Status: VERIFIED FIXED
Alias: None
Product: Tigerstripe
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-05 05:54 EDT by Valentin Yerastov CLA
Modified: 2010-10-07 16:26 EDT (History)
2 users (show)

See Also:


Attachments
Patch (9.99 KB, patch)
2010-10-05 05:55 EDT, Valentin Yerastov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Valentin Yerastov CLA 2010-10-05 05:54:16 EDT
Build Identifier: I20100608-0911

1.After the refactoring may appear orphaned packages.

Steps to reproduce 
- Create package 'com.mycompany.z1.z2.z3' 
- Rename package to 'com.mycompany.z12' 

Appear orphan-packages 'com.mycompany.z1.z2' and 'com.mycompany.z1' 

2.Can't rename a top level package

How to reproduce: 
- Open tigerstripe/samples/test-models/model-refactoring project. 
- Try to rename the "simple" package with Refactor Model -> Rename... 

Validation error: ".simple doesn't exist".

Reproducible: Always
Comment 1 Valentin Yerastov CLA 2010-10-05 05:55:48 EDT
Created attachment 180232 [details]
Patch
Comment 2 Valentin Yerastov CLA 2010-10-05 05:56:53 EDT
Done.
Comment 3 Navid Mehregani CLA 2010-10-07 16:26:53 EDT
Verified.  Thanks!