Bug 203321

Summary: AssertionException in RemoveBookmarksAdvice
Product: [Modeling] GMF-Runtime Reporter: Anthony Hunter <ahunter.eclipse>
Component: GeneralAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: All   
Whiteboard:

Description Anthony Hunter CLA 2007-09-13 13:15:46 EDT
RemoveBookmarksAdvice assumes that eResource is linked to a physical file within the workspace. In CM sessions any target resource is a temporary resource , which exists in memory only, up until the moment it is about to be saved to the file system. At that moment, the physical file will be linked back to the in-memory copy. The delta analysis shows as complete, and the session procceeds to apply accumulated deltas, however, during delta application the AssertionException halts silent fuse, forcing it to become visual. The RemoveBookmarksAdvice is attempting to clean any problem markers associated with deleted eObjects (as the result of delta application). 

The fix is to remove the assertion and return gracefully without raising an AssertionException.
Comment 1 Anthony Hunter CLA 2007-09-13 13:22:01 EDT
Committed to HEAD and R2_0_Maintenance
Comment 2 Eclipse Webmaster CLA 2010-07-19 21:58:13 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime was the original product and component for this bug