Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331623 - dynamic_package with fragment in relative location cannot be resolved
Summary: dynamic_package with fragment in relative location cannot be resolved
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Core (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-01 19:19 EST by Alex CLA
Modified: 2010-12-14 23:29 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 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!