|
|
Re: EMF Constraint issue [message #1590278 is a reply to message #1590122] |
Wed, 28 January 2015 23:23 |
|
Hi, Alex,
Yes, I would have expected it to have been called under those
circumstances. Such a basic regression should have turned up in the
automated tests, though, so perhaps there was something else at play in
the filtering of the constraints.
Cheers,
Christian
On 2015-01-28 21:23:37 +0000, Alex Kravets said:
> The problem was that I was using IBatchValidator on a Live constraint,
> once I changed to Batch mode, everything worked. However, I did specify:
>
> IBatchValidator validator =
> ModelValidationService.getInstance().newValidator(EvaluationMode.BATCH);
> validator.setIncludeLiveConstraints(true);
>
> So shouldn't my constraint be called anyway?
|
|
|
Powered by
FUDForum. Page generated in 0.01569 seconds