FLUID-2171: Reordering portlets containing Google components throws an error: using IE

Metadata

Source
FLUID-2171
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
Justin Obara
Reporter
Justin Obara
Created
2009-01-28T12:30:27.000-0500
Updated
2014-03-03T14:45:02.186-0500
Versions
  1. 0.7
  2. 0.8
  3. 0.8.1
Fixed Versions
  1. 1.2
Component
  1. Reorderer

Description

Reordering portlets contaning Google components throws an error

Error: JScript runtime error: 'Google-exportSymbol' is underfined

Environments

IE6, IE7 (Win XP)
IE7 (Win Vista)

Attachments

Comments

  • Justin Obara commented 2009-11-05T12:40:51.000-0500

    The example I have doesn't seem to work with the newer versions of Infusion, probably because of the api changes that were made at 1.0.

    Here is some further exploration information.

    1) The error seems to happen on the creation of the avatar

    2) There are script tags within the reorderable element (portlet)
    – if the script tags are located outside of the portlet, it works fine.

    3) There is a script that gets pulled in from google, it is what is causing the break.
    within this script is a call to google.loader.writeLoadTag (line 51) which seems to add a script (line 21)

  • Justin Obara commented 2009-11-06T14:08:08.000-0500

    Some further investigation seems to suggest that the google script is being loaded asynchronously and that the load of it is happening as part of a call to clone.

  • Antranig Basman commented 2009-11-06T14:21:18.000-0500

    Please try this patch to see if it resolves the issue. Cheers, Antranig.

  • Antranig Basman commented 2009-11-10T23:17:47.000-0500

    Committing patch after informal reports from Justin suggest it works.