Bug 203321 - AssertionException in RemoveBookmarksAdvice
Summary: AssertionException in RemoveBookmarksAdvice
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.0   Edit
Hardware: PC All
: P3 normal
Target Milestone: 2.0.1   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-13 13:15 EDT by Anthony Hunter CLA
Modified: 2010-07-19 21:58 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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