Commit 9f571c2e authored by Snejana Bisa's avatar Snejana Bisa
Browse files

Bug 543724 - ValidationMarkerManager removes markers that are out of


scope

Fixed URI comparison for depth=infinite inside getValidationMarkerList
(only markers corresponding to ancestor elements or to the target object
itself, should be added to the result)

Change-Id: Ie3ea8f02bf1996abfe35212a278ed5ec48be3546
Signed-off-by: default avatarSnejana Bisa <snejana_b@yahoo.com>
parent a0f540e1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
 *     itemis - [458509] NPE in ValidationMarkerManager
 *     itemis - [480135] Introduce metamodel and view content agnostic problem decorator for model elements
 *     itemis - [511105] Ensure Mars compatibility & fix compilation errors under Oxygen due to internal API usage
 *     Elektrobit - [543724] ValidationMarkerManager removes markers that are out of scope
 *
 * </copyright>
 */
@@ -498,7 +499,7 @@ public class ValidationMarkerManager {
						}
						break;
					case EObjectUtil.DEPTH_INFINITE:
						if (markerURI.contains(eObjURI)) {
						if (markerURI.equals(eObjURI) || markerURI.contains(eObjURI + "/")) { //$NON-NLS-1$
							result.add(marker);
						}
						break;