| Summary: | [mwe2] auto-inject overrides explicit properties | ||
|---|---|---|---|
| Product: | [Modeling] EMFT | Reporter: | Knut Wannheden <knut.wannheden> |
| Component: | MWE | Assignee: | Project Inbox <emft-mwe-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | 2.0 | Flags: | sebastian.zarnekow:
indigo+
|
| Target Milestone: | SR2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
I can confirm that auto-inject does not work correctly. Pushed to master. |
I have an MWE2 workflow where I've defined a top-level variable. The variable's name matches the name of an auto-injected workflow component's property. But as the property is being explicitly set I would expect this explicit setting to take precedence over the auto-injected value. E.g. module foo.Foo var bar = "bar" Workflow { component = foo.FooComponent auto-inject { bar = "" } } When executed the property "bar" of FooComponent will be set to "bar".