Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326355 - Imported Content Type doesn't show in preferences until restart
Summary: Imported Content Type doesn't show in preferences until restart
Status: CLOSED DUPLICATE of bug 122217
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.6   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Resources-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-27 17:04 EDT by Tim Mok CLA
Modified: 2014-01-17 07:06 EST (History)
3 users (show)

See Also:


Attachments
test preference export (3.57 KB, application/octet-stream)
2010-09-27 17:06 EDT, Tim Mok CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Mok CLA 2010-09-27 17:04:01 EDT
Build Identifier: 3.6 Helios

In the preferences, General -> Content Types, I add a new content type under the Text/XML node. I then export my preferences and can confirm the preference is saved in the file.

When I remove the content type I added or start a new workspace, I attempt to import the preferences. After import, I check if the content type is there and it is not. After a client restart, the preference is there. It seems that the preference dialog needs a refresh.

I ran a breakpoint on ContentTypeManager() and it creates the instance scope on client startup. My guess is it needs a refresh after the preference import.

Reproducible: Always
Comment 1 Tim Mok CLA 2010-09-27 17:06:14 EDT
Created attachment 179691 [details]
test preference export

added Content Type
*.sxml under Text/XML in Content Types preferences
Comment 2 Szymon Brandys CLA 2011-04-05 11:51:56 EDT
I can reproduce the issue.
Comment 3 Szymon Ptaszkiewicz CLA 2014-01-17 07:06:34 EST

*** This bug has been marked as a duplicate of bug 122217 ***