Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Label-related error message in Sirius 4.0.0
Label-related error message in Sirius 4.0.0 [message #1735832] Thu, 23 June 2016 07:31 Go to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
Hi all,

after updating to Sirius 4.0.0 several labels show a "Invalid feature as
name" message.
This affects label which do not show a certain feature, but a static
string, like the following:

aql:'FIELDS'

How do I need to change these to bypass the problem?

Thanks,

Axel
Re: Label-related error message in Sirius 4.0.0 [message #1735856 is a reply to message #1735832] Thu, 23 June 2016 10:35 Go to previous messageGo to next message
Julien Dupont is currently offline Julien DupontFriend
Messages: 172
Registered: July 2009
Senior Member
Hi Axel,

It's maybe because your AQL version was not correctly updated.
Could you check that the AQL version is 4.0, for that, menu
Help/Installation details, in plugins tabs search aql, the version must
be 4.0.0.
If AQL version is wrong, update it!

Regards,


--
Julien - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Label-related error message in Sirius 4.0.0 [message #1735898 is a reply to message #1735856] Thu, 23 June 2016 13:07 Go to previous messageGo to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
Hi Julien,

in my target platform I have the following file:

org.eclipse.sirius.common.acceleo.aql_4.0.0.201605311157.jar

which is the same version as the one which is activated in my product's
launch configuration.

Actually my expression is not just "aql:'FIELDS'", but:

aql:if self.getCurrentLocale() = 'de' then 'FELDER' else 'FIELDS'

Has anything changed with regards to the syntax maybe?

Regards,

Axel


Am 23.06.2016 um 12:35 schrieb Julien DUPONT:
> Hi Axel,
>
> It's maybe because your AQL version was not correctly updated.
> Could you check that the AQL version is 4.0, for that, menu
> Help/Installation details, in plugins tabs search aql, the version must
> be 4.0.0.
> If AQL version is wrong, update it!
>
> Regards,
>
>
Re: Label-related error message in Sirius 4.0.0 [message #1735908 is a reply to message #1735898] Thu, 23 June 2016 13:42 Go to previous messageGo to next message
Julien Dupont is currently offline Julien DupontFriend
Messages: 172
Registered: July 2009
Senior Member
It seems that, the AQL expression is wrong.
The expression should be

aql: if self.getCurrentLocale() = 'de' then 'FELDER' else 'FIELDS' endif

Regards,


--
Julien - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Label-related error message in Sirius 4.0.0 [message #1735915 is a reply to message #1735908] Thu, 23 June 2016 14:37 Go to previous message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 354
Registered: July 2009
Senior Member
You are right, I oversaw that.

Thanks for the pointer and sorry for the confusion.

Axel


Am 23.06.2016 um 15:42 schrieb Julien DUPONT:
> It seems that, the AQL expression is wrong.
> The expression should be
>
> aql: if self.getCurrentLocale() = 'de' then 'FELDER' else 'FIELDS' endif
>
> Regards,
>
>
Previous Topic:creating element based edge
Next Topic:Serializing the diagram objects and saving in the xml file
Goto Forum:
  


Current Time: Thu Apr 25 05:07:17 GMT 2024

Powered by FUDForum. Page generated in 0.02921 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top