FLUID-5664: Renderer component fails to respect rebinding of model reference by new ChangeApplier

Metadata

Source
FLUID-5664
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2015-05-13T10:36:04.293-0400
Updated
2017-02-27T15:49:12.973-0500
Versions
N/A
Fixed Versions
  1. 2.0
Component
  1. Framework
  2. Renderer

Description

The new ChangeApplier implementation delivered for FLUID-5115 has the capability of rebinding the JavaScript object reference held at "model" of a component, which was not possible in the original implementation. The implementation of fluid.rendererComponent doesn't react to such rebinding since it closes over the original reference at time of component construction. This will lead to serious errors, including the complaint that the "model is not present" if it was undefined at construction.

Comments

  • Antranig Basman commented 2015-08-20T13:46:42.600-0400

    Merged into trunk at revision 282f1a318718eed0b0ec060fb8b4ad254417fd7e