Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318600 - referenced configuration settings can disappear as a result of reconcile during load
Summary: referenced configuration settings can disappear as a result of reconcile duri...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-core (show other bugs)
Version: 7.0   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 7.0.1   Edit
Assignee: James Blackburn CLA
QA Contact: Doug Schaefer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-01 10:02 EDT by James Blackburn CLA
Modified: 2010-07-14 06:23 EDT (History)
0 users

See Also:


Attachments
fix 1 (5.06 KB, patch)
2010-07-01 10:02 EDT, James Blackburn CLA
jamesblackburn+eclipse: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Blackburn CLA 2010-07-01 10:02:22 EDT
Created attachment 173216 [details]
fix 1

External settings can disappear, if, during a project load, settings from other external setting providers are reconciled in.  The issue is that while settings are cached locally, the eager reconcile can remove settings for 'missing' projects which aren't yet imported.

The attached patch fixes this in the simplest way by adding a cache of the settings exported from a configuration.  This cache is used when fetching / discovering the settings in the referencing project config. 

This code is very complex for what it does: propagating setting between configurations. Hopefully we can take a deeper look at this with Andrew's re-think of how paths and symbols are stored and shared for 8.0.
Comment 1 James Blackburn CLA 2010-07-14 05:44:30 EDT
Fixed in 7.0.1 & HEAD.