Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344073 - Sometimes extends link is disappeared from diagram after artifacts move
Summary: Sometimes extends link is disappeared from diagram after artifacts move
Status: CLOSED FIXED
Alias: None
Product: Tigerstripe
Classification: Technology
Component: Diagrams (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-28 01:43 EDT by Maria Kolchinskaja CLA
Modified: 2011-05-17 06:49 EDT (History)
2 users (show)

See Also:


Attachments
TS-344073.patch.txt (1.24 KB, text/plain)
2011-05-16 09:09 EDT, Valentin Yerastov CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maria Kolchinskaja CLA 2011-04-28 01:43:50 EDT
Build Identifier: 

Steps to reproduce:
1. Create Tigerstripe project with 2 datatype artifacts
2. Add extend from one artifact to another
3. Create class diagram and add artifacts on diagram - extends link is displayed.
4. Create another package in Explorer 
5. Move datatype artifacts to another package

Result:
Check diagram - there are no extends link.

The issue happens not always, but it always happens when I run 'MultipleMove' test from Tigerstripe repository.
See result of diagram audit:
Diagram audit result (model-refactoring: 1/4 diagrams have errors)
\model-refactoring\src\simple\default.wvd
Artifacts
simple.moved.DataMiddle
 In model extends simple.moved.DataTop but not in diagram (null).

Reproducible: Sometimes
Comment 1 Chris Hartley CLA 2011-05-04 23:04:34 EDT
Maria,

does the diagram with the missing extends pass validation ?
Are there any errors in the error log if you open it or modify it ?
Comment 2 Maria Kolchinskaja CLA 2011-05-05 23:27:17 EDT
Chris,

The diagram does not pass validation - when I run 'Diagram audit', it has incountered a problem
Diagram audit result (model-refactoring: 1/4 diagrams have errors)
\model-refactoring\src\simple\default.wvd
Artifacts
simple.moved.DataMiddle
 In model extends simple.moved.DataTop but not in diagram (null).

When I open diagram or modify it, no other errors in error log displays. And when I modified the extended artifact (i've added an attribute), extends link is appeared on the diagram.
Comment 3 Chris Hartley CLA 2011-05-05 23:37:53 EDT
thanks Maria,

so it seems to be different from the "Semantic Refresh Errors" I am getting that had some similarity to the initial BZ description.
Comment 4 Valentin Yerastov CLA 2011-05-16 09:09:41 EDT
Created attachment 195729 [details]
TS-344073.patch.txt

Fixed.
Comment 5 Yuri Strot CLA 2011-05-16 09:37:12 EDT
Valentin's patch applied.
Comment 6 Maria Kolchinskaja CLA 2011-05-17 06:49:18 EDT
Verified. Closing issue