Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 268518 - Filtered Resorces problems Illegal Argument Exception during project open, issues with filtered resource appearing
Summary: Filtered Resorces problems Illegal Argument Exception during project open, is...
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: Resources (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: 0.9 M2   Edit
Assignee: Serge Beauchamp CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 07:51 EDT by James Blackburn CLA
Modified: 2009-03-17 08:06 EDT (History)
1 user (show)

See Also:


Attachments
Test 1 (12.45 KB, patch)
2009-03-13 07:51 EDT, James Blackburn CLA
john.arthorne: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Blackburn CLA 2009-03-13 07:51:32 EDT
Created attachment 128690 [details]
Test 1

Build ID: HEAD

Steps To Reproduce:
Hi Serge,

Just encountered a couple issues with filtered resource and alias interaction.

Attached are a couple tests.


More information:
The first test fails during reconcileLinks in project open. The RefreshLocalAliasVisitor seems to be attempting visit filtered IResource's, so I end up with an
IllegalArgumentException: Element not found: ... 
from ElementTree.

In the second shows an oddity where a filtered child reappears when a file is touched (created) via an alias to the location.

I believe the tests are good, though in both cases (becuase of the first issue) I can't get far enough with workarounds (refreshLocal, commenting out asserts, etc.) to double-check.
Comment 1 Serge Beauchamp CLA 2009-03-16 09:36:49 EDT
Thanks for reporting this issue James.

This is now fixed on the e4 CVS head, and both junit test pass successfully.
Comment 2 James Blackburn CLA 2009-03-17 08:06:04 EDT
Thanks Serge!