Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 344705 - [Query2] or does not work with subqueries in textual query
Summary: [Query2] or does not work with subqueries in textual query
Status: NEW
Alias: None
Product: EMF
Classification: Modeling
Component: Query2 (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 09:49 EDT by Missing name CLA
Modified: 2011-05-04 09:49 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.