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

Metadata

Source
FLUID-5509
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2014-09-13T12:48:00.261-0400
Updated
2017-02-27T15:49:18.980-0500
Versions
  1. 1.5
Fixed Versions
  1. 2.0
Component
  1. Data Binder

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.

Comments

  • Antranig Basman commented 2014-12-03T15:45:47.084-0500

    I was sure a fix had been tested for this issue but it appears to only exist "in my mind".

  • Antranig Basman commented 2015-08-20T14:09:04.909-0400

    STILL apparently only "in my mind"

  • Antranig Basman commented 2015-08-20T14:45:29.600-0400

    No - actually resolved in FLUID-5249 branch on Apr 17 2015 - https://github.com/amb26/infusion/commit/06d4ea1dfcdbc407ad5c2ecccd54c5d500fb2232

  • Antranig Basman commented 2015-08-20T14:45:48.593-0400

    Merged into trunk at revision 282f1a318718eed0b0ec060fb8b4ad254417fd7e