This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 327713 - [Refactoring] In some cases moving a package causes the parent package to be removed
Summary: [Refactoring] In some cases moving a package causes the parent package to be ...
Status: RESOLVED FIXED
Alias: None
Product: Tigerstripe (Archived)
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-13 17:17 EDT by Navid Mehregani CLA
Modified: 2011-01-17 10:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Navid Mehregani CLA 2010-10-13 17:17:19 EDT
Build Identifier: 

Consider the following project structure:

MyProject
   src  <- Source folder
     source   <- Package
        foo   <- Package
     destination  <- Package

moving foo to destination causes 'source' to be removed!

Reproducible: Always

Steps to Reproduce:
1. Create a model project
2. Create a package called 'source' in the 'src' folder
3. Create a package called 'destination' in the 'src' folder
4. Create a package called 'foo' under 'source' package
5. Define a class diagram, two entities and an association between the entities under 'foo'
6. In TS explorer, right click on 'foo' > Refactor Model > move.  Select 'destination' in the dialog box that pops up > click on OK

Expected outcome would be for 'foo' to be moved to 'destination' and 'source' would remain as is.  However, 'source' package is removed for some reason!
Comment 1 Navid Mehregani CLA 2011-01-17 10:44:10 EST
Fixed.