| Summary: | Invoke with methods without parameters fails. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] Acceleo | Reporter: | Stephane Begaudeau <stephane.begaudeau> | ||||||
| Component: | Core | Assignee: | Project Inbox <acceleo-inbox> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
Created attachment 180227 [details]
Patch v2
Contributed and available in Acceleo 3.0.2 and Acceleo 3.1.0 M3 |
Created attachment 180141 [details] Patch If we create a class with a method: public String doSomething() {return "hi"}; And if we try to call that method with an invoke from an Acceleo module the method is not found because without parameters Acceleo tries to invoke the method on the current parameter (like an EClass) instead of invoking the method on the Java object.