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

Bug 344705

Summary: [Query2] or does not work with subqueries in textual query
Product: [Modeling] EMF Reporter: Missing name <cm>
Component: Query2Assignee: Project Inbox <emf.query2-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Missing name CLA 2011-05-04 09:49:09 EDT
Build Identifier: 20110218-0911


the query 
[code]
from A as a
select a
where
	a.prop = "test"
or
	a.refB in (
		from B as b
		select b
		where
			b.prop = "test"
	)
[/code]
results in a validation error, saying that 
[quote title=Quote:]The current query can only execute where entries in an or subtree if they share the same alias[/quote]
The statement b.prop = "test" is marked as the source for the validation error. 

Build:  1.0.0.201104260527

Reproducible: Always

Steps to Reproduce:
1. Create a new textual query
2. try to specify a query similar to the above
3.