Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 459767 - AQL returns "Nothing" as part of a resulting String
Summary: AQL returns "Nothing" as part of a resulting String
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Query Language (show other bugs)
Version: 3.6.0   Edit
Hardware: All All
: P3 major
Target Milestone: ---   Edit
Assignee: Yvan Lussaud CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 458024
  Show dependency tree
 
Reported: 2015-02-12 07:52 EST by Cedric Brun CLA
Modified: 2015-02-25 10:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cedric Brun CLA 2015-02-12 07:52:42 EST
When calling AQL with an expression similar to :

'm' + self.eType.name

with self being an EReference which has no value un eType.

AQL returns :
'mNothing'

I suspect that AQL convert the result if self.eType.name (which is a Nothing in this case) by calling toString() .

the expected result  is :
'm'
Comment 1 Eclipse Genie CLA 2015-02-12 09:37:32 EST
New Gerrit change created: https://git.eclipse.org/r/41733