|Re: includesAll fails [message #1771716 is a reply to message #1771714]
||Tue, 29 August 2017 19:52
| Edoaurd Batot
Registered: March 2015
For the one repro you provided earlier, I investigated and the results was correct since your model content was perhaps not what you expected.
Once loaded successfully I see one validation error, which the Validity View allows me to debug, clearly showing different Earning instances.
I still don't know what the "different Earning instances" means..
If the model is not what I expect, I gave here all the material I have : metamodel in Ecore, OCL rules, and specific model with the precise error showing up.
What I did next is to mention that this is not an isolated case and that I am concern about how EMF/OCL deals with references when there is more than one root object. Which might be caused by my mistake. The "earning instances" comment gave me some hope though.
Use the hover text over operators to see whether you expressions are what you expect. The hover I could get points out sometimes a "null" when the text behind (the actual file) shows a value (a id-reference).
If you have the screenshot of the debugger you mentionned, I'd appreciate seeing it.
Sorry if it is nebulous, I am stuck right now, any hint might help.
Thanks for your consideration,
Powered by FUDForum
. Page generated in 0.02423 seconds