FLUID-5279: "that.produceTree is not a function" when refreshView() is called as a model (relayed) listenr on a renderer relay component

Metadata

Source
FLUID-5279
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Cindy Li
Reporter
Cindy Li
Created
2014-02-18T10:54:42.815-0500
Updated
2014-03-18T11:25:16.554-0400
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. Framework

Description

In a use case with:
1. the direct model sharing is defined between a relay component and a renderer relay component;
2. a model listener to refresh view is defined as a model listener on the rederer component.

Instantiating this component throws error: that.produceTree is not a function.

Comments

  • Cindy Li commented 2014-02-18T16:01:40.605-0500

    Sent a pull request with a unit test to demonstrate this issue: https://github.com/fluid-project/infusion/pull/471

  • Colin Clark commented 2014-03-18T04:18:38.020-0400

    I have tested, reviewed, and pushed this fix to the project repo's master branch at revision 137ddb0c83926d3252a8c8488caa34332cc96a4d.

    @@Cindy Li can you confirm that this fix addresses the issue and close the ticket if so? Thanks!

  • Cindy Li commented 2014-03-18T11:25:16.552-0400

    Confirmed the issue is fixed.