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

Databinding tests fail in strict mode

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.5
    • None
    • None

    Description

      If Fluid.js is in strict mode ("use strict" the DataBinding tests fail on the "ApplyHolderChangeRequest - cautious application + invalidation" tests for the "Add array at empty root" test.

      The issue appears to be caused by root being set to "ADD" in fluid.model.accessImpl. This falls through to the else condition which attempts to assign a value with array notation. In strict mode these are read only, but it seems like an error either way to be assigning values to "ADD" like this.

      Attachments

        Issue Links

          Activity

            People

              antranig Antranig Basman
              jobara Justin Obara
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: