FLUID-5375: In IoC testing framework, modelChanged events for relay components behave incorrectly

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. 1.4
Fixed Versions
N/A
Component
  1. 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