From 54f0184dbb8c8b0f081c72af4002e8f5198b7cb6 Mon Sep 17 00:00:00 2001 From: Erwann Traisnel Date: Tue, 27 Feb 2024 16:06:58 +0100 Subject: [PATCH] #781 Memory:/ URI wasn't used Change-Id: Id1d5a331af3074a71ebc5bccf341df91a97ee2ff Signed-off-by: Erwann Traisnel --- .../doc/gen/business/core/scope/GenerationGlobalScope.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Docgen/business/plugins/org.polarsys.kitalpha.doc.gen.business.core/src/org/polarsys/kitalpha/doc/gen/business/core/scope/GenerationGlobalScope.java b/Docgen/business/plugins/org.polarsys.kitalpha.doc.gen.business.core/src/org/polarsys/kitalpha/doc/gen/business/core/scope/GenerationGlobalScope.java index 5cf6e7ff7..414367d42 100644 --- a/Docgen/business/plugins/org.polarsys.kitalpha.doc.gen.business.core/src/org/polarsys/kitalpha/doc/gen/business/core/scope/GenerationGlobalScope.java +++ b/Docgen/business/plugins/org.polarsys.kitalpha.doc.gen.business.core/src/org/polarsys/kitalpha/doc/gen/business/core/scope/GenerationGlobalScope.java @@ -260,7 +260,7 @@ protected final Resource copyResource(final EObject anySourceModelElement){ URI copiedResourceURI = URI.createHierarchicalURI(URIQuery.INMEMORY_URI_SCHEME, resourceURI.authority(), resourceURI.device(), resourceURI.segments(), resourceURI.query(), resourceURI.fragment()); - final Resource resource = domain.createResource(anySourceModelElement.eResource().getURI().toString()); + final Resource resource = domain.createResource(copiedResourceURI.toString()); this.domain.getResourceSet().getResources().add(resource);