Bug 565233 - ValidationMarkerManager method does not return any markers
Summary: ValidationMarkerManager method does not return any markers
Status: CLOSED MOVED
Alias: None
Product: Sphinx
Classification: Automotive
Component: Validation Runtime Extensions (show other bugs)
Version: 0.11.0   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-15 02:39 EDT by Stancovici Ramona CLA
Modified: 2024-05-08 14:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stancovici Ramona CLA 2020-07-15 02:39:13 EDT
The method org.eclipse.sphinx.emf.validation.markers.ValidationMarkerManager.getValidationMarkersList(EObject, int, String) does not return any  markers because of URI inconsistencies. This is due to the call to org.eclipse.sphinx.emf.validation.util.ValidationUtil.getURI(EObject), which  returns a fragment based URI as the org.eclipse.sphinx.emf.util.EcoreResourceUtil.getURI(EObject) method is called to obtain the URI. This returns a fragment based URI, but there should be the expanded URI. The proposed solution would be to be called the org.eclipse.sphinx.emf.util.EcoreResourceUtil.getURI(EObject, boolean) and force the method to retrieve the expanded URI.
Comment 1 Balazs Grill CLA 2024-05-07 00:56:37 EDT
This issue will be migrated to gitlab.
Comment 2 Eclipse Webmaster CLA 2024-05-08 14:58:14 EDT
This issue has been migrated to https://gitlab.eclipse.org/eclipse/sphinx/org.eclipse.sphinx/-/issues/2.