Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-5375

In IoC testing framework, modelChanged events for relay components behave incorrectly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
      None

      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".

        Attachments

          Activity

            People

            Assignee:
            antranig Antranig Basman
            Reporter:
            cli@ocad.ca Cindy Qi Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: