Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343748

Summary: selected build plans are lost when Eclipse is killed
Product: z_Archived Reporter: Eugene Kuleshov <ekuleshov>
Component: MylynAssignee: Steffen Pingel <steffen.pingel>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: steffen.pingel
Version: unspecified   
Target Milestone: 0.8.5   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Eugene Kuleshov CLA 2011-04-25 12:40:46 EDT
The Builds view loses settings when Eclipse is killed, e.g. when host OS is restarted without shutting down Eclipse. So, it seem like settings aren't flushed to disk properly and I have to change them every time.
Comment 1 Steffen Pingel CLA 2011-05-09 15:45:54 EDT
The Builds view uses the standard workbench memento mechanism to store filter and presentation settings. Which settings are getting lost specifically?
Comment 2 Eugene Kuleshov CLA 2011-05-09 16:09:00 EDT
Specifically, selected build plans are lost.
Comment 3 Steffen Pingel CLA 2011-05-09 16:43:03 EDT
Thanks for clarifying. These are stored in the builds model so must be another reason.
Comment 4 Steffen Pingel CLA 2011-12-09 16:01:38 EST
I have added an extra call to persist the model when the build plan configuration is changed on the settings page. That will ensure that at least selected plans are saved in case shutdown does not cleanly complete, i.e. when BuildsUiPlugin.stop() is not executed.
Comment 5 Steffen Pingel CLA 2011-12-09 16:01:40 EST
Created attachment 208205 [details]
mylyn/context/zip