| Summary: | [Net] ui.net can cause the instance location to be set to default too early | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Thomas Watson <tjwatson> | ||||||
| Component: | Runtime | Assignee: | DJ Houghton <dj.houghton> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | dj.houghton, mober.at+eclipse, pawel.pogorzelski1 | ||||||
| Version: | 3.6 | Flags: | tjwatson:
review-
|
||||||
| Target Milestone: | 3.7 M1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Thomas Watson
Moving to Platform->Team. But could come back to UI if something needs to be done in AbstractUIPlugin. Yes there have been previous bugs like this before but I can't find them right now. I think that there was one in Platform/UI that me and Tod (or Andrew E) worked on years ago. This is one related to the team.net bundles. bug 218013 Created attachment 169810 [details]
Patch_v01
Even though I suggested the possible fix, I don't think it is the correct thing to do in this case. I discussed this with DJ and we think the better and more general solution is to avoid doing any work to save preferences if the instance area is not set in org.eclipse.core.runtime.Plugin.savePluginPreferences(). This way we are not only fixing ui.net but any bundle that has an activator that extends AbstractUIPlugin. I will attach a patch. Created attachment 169842 [details]
Plugin.savePluginPreferences patch
(In reply to comment #4) > I discussed this with DJ and we think the better and more general solution is > to avoid doing any work to save preferences if the instance area is not set in > org.eclipse.core.runtime.Plugin.savePluginPreferences(). Agreed. Moving to Runtime. Patch released to HEAD. |