Summary: | Bad completion and error validation with tool filter | ||||||
---|---|---|---|---|---|---|---|
Product: | [Modeling] Sirius | Reporter: | Etienne Juliot <etienne.juliot> | ||||
Component: | Diagram | Assignee: | Project Inbox <sirius.diagram-inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | florian.barbin | ||||
Version: | 5.1.0 | Keywords: | triaged | ||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Created attachment 271621 [details] reproduce environment with ecore mm Step to reproduce: - create a Node Creation tool - Add a Filter - in Precondition, type aql:self. -> current result: completion propose a completion based on a semantic element, but the runtime expect to be in the context of the diagram. -> workaround: write self.target.oclAsType(xx). but completion doesn't work anymore and it generates a false validation error -> expected behavior: change completion and validation to use the diagram as the self context (or change runtime behavior to be contextual to a semantic)