Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 266382 - Explicitly save when setting repository properties
Summary: Explicitly save when setting repository properties
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5 M6   Edit
Assignee: John Arthorne CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-26 16:53 EST by John Arthorne CLA
Modified: 2009-02-26 16:55 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Arthorne CLA 2009-02-26 16:53:40 EST
AbstractRepositoryManager#setRepositoryProperty doesn't explicitly persist the change to the preference file. It relies on the extra save that happens during shutdown to persist the change. We should instead persist the change immediately to avoid losing data in the event of an unsuccessful shutdown.
Comment 1 John Arthorne CLA 2009-02-26 16:55:32 EST
Fixed in HEAD.