Problems with computing title of a fix [message #552515] |
Thu, 12 August 2010 08:47  |
Eclipse User |
|
|
|
Hi,
I have an EVL critique, that computes its title, based on the faulty
property:
fix {
title: 'Set value to ' + (self.roleWorkloadRatio / 100)
do {
self.roleWorkloadRatio := self.roleWorkloadRatio / 100;
}
}
The fix itself works, but the title displays as "<error>" and in the
console I find the following message:
Property 'roleWorkloadRatio' not found in object Allocation
[roleWorkloadRatio=80.0]
This doesn't seem right, does it? It looks like the Allocation object is
the context of evaluating the title expression, but still
self.roleWorkloadRatio crashes.
Hallvard
|
|
|
|
Re: Problems with computing title of a fix [message #593027 is a reply to message #552515] |
Thu, 12 August 2010 13:08  |
Eclipse User |
|
|
|
Hi Hallvard,
You're right, that doesn't seem right.
I can't see anything wrong with the code. Could you put together a minimal example and send the EVL file, models and metamodels to me? (louis at cs.york.ac.uk) I'll investigate and get back to you.
Cheers,
Louis.
|
|
|
Powered by
FUDForum. Page generated in 0.05080 seconds