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

Bug 338077

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: mober.at+eclipse, Szymon.Brandys
Version: 3.6.2   
Target Milestone: 3.6.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:31:46 EST
Backport of Bug 338055 to 3.6.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 Martin Oberhuber CLA 2011-03-11 11:58:04 EST
3.6.2 has shipped, should this be marked as fixed or target milestone updated?
Comment 2 Szymon Brandys CLA 2011-03-14 05:01:52 EDT
There was no 3.6.2+ when the bug was raised.
Comment 3 Malgorzata Janczarska CLA 2011-03-25 12:17:35 EDT
Created attachment 191918 [details]
Ported fix
Comment 4 Szymon Brandys CLA 2011-03-28 09:13:45 EDT
Created attachment 192000 [details]
Ported fix updated

Copyrights and test plug-in version updated.
Comment 5 Szymon Brandys CLA 2011-03-28 09:53:42 EDT
'Ported fix updated' committed to R3_6_maintenance. Gosia, please verify.