FLUID-5116: Undefined messageResolver at loading discovery tool

Metadata

Source
FLUID-5116
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Cindy Li
Created
2013-08-15T16:31:38.244-0400
Updated
2013-10-04T09:07:31.013-0400
Versions
N/A
Fixed Versions
  1. 1.5
Component
  1. UI Options

Description

Jess has this error periodically at loading discovery tool:

TypeError: messageResolver is undefined @ http://build.fluidproject.org/prefsEditors/src/shared/lib/infusion/MyInfusion.js:29301"

Although the error occurs at loading discovery tool, it seems resulted from UIO component. By looking into the code, the fat panel sliding panel is created after the rendering of the iframe without considering whether the message resolver has been created by uiOptions.

The solution would be creating an aggregate event that listens to both iframe and UIOptions ready events and having the sliding panel created on this aggregate event.

Comments

  • Antranig Basman commented 2013-08-22T15:46:01.940-0400

    Thanks for this careful and good work, cindy - it is a much-needed simplification of the component hierarchy of UIOptions!

  • Justin Obara commented 2013-10-04T09:07:30.886-0400

    Merged into the project repo at 50b253a3e004c598ae7389e5d3b12fe53e679351