Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326989

Summary: Artifact refactoring problems
Product: [Technology] Tigerstripe Reporter: Valentin Yerastov <valentin>
Component: CoreAssignee: Project Inbox <tigerstripe.core-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P3 CC: nmehrega, yuri
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Patch none

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!