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

Storing NaN via a "new-style applier" will cause infinite recursion in DataBinding

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 2.0
    • Component/s: Data Binder
    • Labels:
      None

      Description

      Any change request attempting to store a float NaN value into a model via the relay-aware applier will cause an infinite recursion in DataBinding. This is because the model will never be considered to have stabilised since each value always compares different to its original value via standard IEEE-754 comparison rules.

      The simplest fix will be to adapt the fluid.model.isSameValue utility.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              antranig Antranig Basman
              Reporter:
              antranig Antranig Basman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: