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

Bug 331623

Summary: dynamic_package with fragment in relative location cannot be resolved
Product: [Modeling] EMF Reporter: Alex <alex.leites>
Component: CoreAssignee: Ed Merks <Ed.Merks>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.6.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Alex CLA 2010-12-01 19:19:37 EST
Build Identifier: 20100917-0705

The EPackageDescriptor.Dynamic.getEPackage() seems to get URI fragment separator # encoded (as %nn), producing incorrect platform resource URI; apparently due to passing the location, with fragment, as part of string argument to URI.createPlatformPluginURI(... + '/' + location, /* encode = */ true).

Reproducible: Always

Steps to Reproduce:
1. Have plugin.xml register dynamic_package with e.g.
location="model/my.ecore#//subpackage"; install
2. Try to get to EPackage using the registered URI
Comment 1 Ed Merks CLA 2010-12-02 20:48:03 EST
A fix is committed to CVS for EMF 2.7.
Comment 2 Ed Merks CLA 2010-12-13 16:42:43 EST
The fixes are available in a published build.
Comment 3 Ed Merks CLA 2010-12-14 23:28:04 EST
Try again to resolve as fixed (and available in a build).
Comment 4 Ed Merks CLA 2010-12-14 23:29:43 EST
Oh, I guess I have to close them!