Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338076 - [backport] NatureManager.isNatureEnabled() gives invalid result when called after project import.
Summary: [backport] NatureManager.isNatureEnabled() gives invalid result when called a...
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: 3.5.2   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.5.2+   Edit
Assignee: Malgorzata Janczarska CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 338055
Blocks:
  Show dependency tree
 
Reported: 2011-02-24 07:29 EST by Malgorzata Janczarska CLA
Modified: 2011-04-04 04:23 EDT (History)
1 user (show)

See Also:


Attachments
fix backport (14.19 KB, patch)
2011-03-25 11:45 EDT, Malgorzata Janczarska CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Malgorzata Janczarska CLA 2011-02-24 07:29:38 EST
Backport of Bug 338055 to 3.5.2 stream.

NatureManager.isNatureEnabled() gives invalid result when called after project import. If NatureManager.isNatureEnabled() id called too early after project import it gives false result for new natures and the value is cached, so the invalid result is from not on returned until the project is reopened.
Comment 1 Malgorzata Janczarska CLA 2011-03-25 11:45:51 EDT
Created attachment 191915 [details]
fix backport
Comment 2 Szymon Brandys CLA 2011-03-29 08:30:03 EDT
'Ported fix updated' committed to R3_5_maintenance. Gosia, please verify.