Community
Participate
Working Groups
Created attachment 171216 [details] The archive contains the egl files, model and metamodel needed to reproduce the bug. (run driver.egl) Overview: One EGL file contains template operations which the other script would use. The import doesn't work. Steps to Reproduce: 1) define a template operation in an EGL file 2) import that EGL script into another EGL script, use the operation previously defined, and run it Actual Results: Running fails with the error message: Method '(method name)' not found Expected Results: The import should work and the operation should be executed, or at least the import should be validated.
Hi Endre, Thanks for reporting. The problem you're encountering is a regression (importing EGL files used to work in an earlier version of EGL). I'm sorry that you ran into the problem. I've identified the root cause and am about to check-in a solution. I've also added a test to cover this case, which should help to prevent future regressions. For our reference, the cause was the parse method of EglModule, which assumed the context field would be non-null. When EOL resolves imports, it uses a 0-arg constructor of EglModule, and context is set to null. I've moved the logic that depends on context to the execute method of EglModule, which I believe is a better home. Cheers, Louis.
Committed to SVN. Assigning to Dimitris for build integration - thanks!
Fixed in interim version 0.8.9.201006101638
Fixed in 0.9.0.