Metadata
- Source
- FLUID-6136
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Antranig Basman
- Reporter
- Justin Obara
- Created
2017-02-27T15:32:06.838-0500 - Updated
2017-03-01T13:21:25.774-0500 - Versions
-
- 2.0
- Fixed Versions
-
- 3.0
- Component
-
- Framework
- IoC System
Description
If an invoker is specified using a "changePath" to directly update a model value, it cannot be overridden with an invoker of a different form.
Default config:
invokers: {
toOverride: {
changePath: "value",
value: "{arguments}.0"
}
}
overrideConfig:
toOverride: {
funcName: "fluid.tests.overrideInvokerChangePath.overridden",
args: ["{that}"]
}
Additionally if we try to the work around of providing null for the "changePath" and "value" properties, an error is thrown. "Cannot read property 'segs' of null"
Comments
-
Justin Obara commented
2017-02-27T15:35:43.864-0500 PR to demonstrate issue: https://github.com/fluid-project/infusion/pull/816
-
Justin Obara commented
2017-03-01T13:21:21.071-0500 Merged PR ( https://github.com/fluid-project/infusion/pull/819 ) into the project repo at 1874b320f9236b5599be88e3b6eda7f2511f3827