Metadata
- Source
- FLUID-5375
- Type
- Bug
- Priority
- Major
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Antranig Basman
- Reporter
- Cindy Li
- Created
2014-05-16T15:15:16.160-0400 - Updated
2014-06-25T16:16:10.567-0400 - Versions
-
- 1.4
- Fixed Versions
- N/A
- Component
-
- Testing Infrastructure
Description
When testing relay components with IoC testing framework, firing of modelChanged event may end up in three situations:
1. The event is fired with correct new value; (correct behavior)
2. The event is fired with unchanged value; (wrong behavior)
3. The event is not fired at all. (wrong behavior)
The issue doesn't occur when,
1. The component is used outside of the IoC testing framework;
2. The exact same component works fine by replacing the relay grade with the corresponding non-relay grade, such as, replacing "fluid.renderRelayComponent" with "fluid.rendererComponent".
Comments
-
Cindy Li commented
2014-05-16T15:23:59.827-0400 Submitted a pull request to demonstrate the issue: https://github.com/fluid-project/infusion/pull/521
-
Cindy Li commented
2014-05-28T09:15:58.013-0400 The pull request that fixes this issue (https://github.com/fluid-project/infusion/pull/520) has been merged into the project repo @ f77fac2d2d8ecd7fe5ffd2f497cf404e8f13814b