Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338077 - [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.6.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6.2+   Edit
Assignee: Malgorzata Janczarska CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 338055
Blocks:
  Show dependency tree
 
Reported: 2011-02-24 07:31 EST by Malgorzata Janczarska CLA
Modified: 2011-04-04 04:27 EDT (History)
2 users (show)

See Also:


Attachments
Ported fix (12.40 KB, patch)
2011-03-25 12:17 EDT, Malgorzata Janczarska CLA
no flags Details | Diff
Ported fix updated (14.29 KB, patch)
2011-03-28 09:13 EDT, Szymon Brandys 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: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.