Bug 235634 - WorkspaceSynchronizer#getFile() should support resource links
Summary: WorkspaceSynchronizer#getFile() should support resource links
Status: VERIFIED FIXED
Alias: None
Product: EMF Services
Classification: Modeling
Component: Transaction (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal
Target Milestone: ---   Edit
Assignee: Christian Damus CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2008-06-04 12:18 EDT by Christian Vogt CLA
Modified: 2017-02-24 15:11 EST (History)
0 users

See Also:


Attachments
WorkspaceSynchronizer patch (1.42 KB, patch)
2008-06-04 12:18 EDT, Christian Vogt CLA
give.a.damus: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Vogt CLA 2008-06-04 12:18:57 EDT
Created attachment 103585 [details]
WorkspaceSynchronizer patch

Build ID: I20080516-1333

WorkspaceSynchronizer#getFile() does not support searching linked resources for a match to the given resource.

There can be N number of resources in the workspace which are linked to the same URI, however #getFile() should at the least consider returning one such resource.

Attached is a patch with the proposed change.
Comment 1 Christian Damus CLA 2008-06-04 12:28:18 EDT
Sounds like something we should do in the 1.2.1 maintenance release; linked resources should have first-class support.

Thanks for the contribution!
Comment 2 Christian Damus CLA 2008-07-30 11:54:56 EDT
Committed the submitter's patch.
Comment 3 Christian Damus CLA 2008-08-13 11:31:07 EDT
Fix available in R1_2_maintenance: 1.2.1 (R200808130946).
Comment 4 Christian Damus CLA 2008-08-13 15:25:59 EDT
Fix available in HEAD: 1.3.0M1 (S200808131342).