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

Bug 332069

Summary: No longer able to DnD artifacts from dependent JARs to diagram
Product: [Technology] Tigerstripe Reporter: Navid Mehregani <nmehrega>
Component: DiagramsAssignee: Project Inbox <tigerstripe.diagram-inbox>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: P1 CC: yramberg, yuri
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
332069 patch none

Description Navid Mehregani CLA 2010-12-07 13:56:39 EST
Build Identifier: 

Users are no longer able to drag and drop artifacts from dependent JARs onto class diagrams.  This seems like a regression as I remember being able to do this in the past Tigerstripe builds.

Reproducible: Always

Steps to Reproduce:
1. Create two model projects: p1 and p2
2. Create two entities under p1: Ent1 and Ent2
3. Export p1 as a Tigerstripe Module: right click on it > Export > Tigerstripe Module > Finish
4. Copy p1_0.0.0.jar from p1 project to p2
5. open tigerstripe.xml of p2 > under Dependencies list click on Add > add p1_0.0.0.jar
6. Create a class diagram in p2 and open it
7. Expand p1_0.0.0.jar under p2 > expand it so you can see Ent1 and Ent2
8. Try dragging Ent1 onto class diagram
Comment 1 Yoram CLA 2010-12-09 10:18:18 EST
Is it possible to up the priority of this bug? Using the tool for authoring extension modules is difficult without this feature working correctly. In particular, the ability to visualize decoration patterns (extension artifact associated with a base artifact) is extremely important.
I will fake this for now but will greatly appreciate a timely action on this particular bug.
Many thanx,
*Yoram
Comment 2 Navid Mehregani CLA 2010-12-09 10:41:50 EST
Bumping up severity to major and priority to p1.  We'll try our best to submit a fix in this iteration.
Comment 3 Anton Salnik CLA 2010-12-16 00:40:09 EST
Created attachment 185289 [details]
332069 patch

Patch attached.
Comment 4 Yuri Strot CLA 2010-12-17 08:16:33 EST
Patch applied.
Comment 5 Navid Mehregani CLA 2010-12-21 09:57:02 EST
Verified. Thanks! 

However, I do get a lot of error entries in Error log when an artifact is dragged and dropped from a JAR to a diagram.  The error entries read as follows:

"Received wrong transfer data."

I'll open a separate bug for this.