Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 338074

Summary: [backport] NatureManager.isNatureEnabled() gives invalid result when called after project import.
Product: [Eclipse Project] Platform Reporter: Malgorzata Janczarska <malgorzata.tomczyk>
Component: ResourcesAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys
Version: 3.4.2   
Target Milestone: 3.4.2+   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 338055    
Bug Blocks:    
Attachments:
Description Flags
Ported fix
none
'Ported fix' updated none

Description Malgorzata Janczarska CLA 2011-02-24 07:26:50 EST
Backport of Bug 338055 to 3.4.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:28:39 EDT
Created attachment 191911 [details]
Ported fix
Comment 2 Szymon Brandys CLA 2011-03-29 08:01:39 EDT
Created attachment 192081 [details]
'Ported fix' updated

Copyrights updated etc.
Comment 3 Szymon Brandys CLA 2011-03-29 08:14:06 EDT
'Ported fix updated' committed to R3_4_maintenance. Gosia, please verify.