FLUID-2261: UI Options example throws an error on load: using Opera

Metadata

Source
FLUID-2261
Type
Bug
Priority
Critical
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2009-02-18T11:46:39.000-0500
Updated
2009-02-23T12:34:17.000-0500
Versions
  1. 0.8
Fixed Versions
  1. 0.8
Component
  1. UI Options

Description

UI Options example throws an error on load

Steps to reproduce:

1) Open the UI Options example
http://build.fluidproject.org/fluid/fluid-components/html/templates/UIOptions.html

Notice that an error is thrown on load.

Error Log:

JavaScript - http://build.fluidproject.org/fluid/fluid-components/html/templates/UIOptions.html
Event thread: DOMContentLoaded
Error:
name: TypeError
message: Statement on line 1173: Cannot convert undefined or null to Object
Backtrace:
Line 1173 of linked script http://build.fluidproject.org/fluid/fluid-components/js/jquery/jquery-1.3.1.js
function(elem){return jQuery.nodeName(elem,"iframe")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}
Line 1139 of linked script http://build.fluidproject.org/fluid/fluid-components/js/jquery/jquery-1.3.1.js
var value = callback( elems[ i ], i );
Line 1176 of linked script http://build.fluidproject.org/fluid/fluid-components/js/jquery/jquery-1.3.1.js
var ret = jQuery.map( this, fn );
Line 152 of linked script http://build.fluidproject.org/fluid/fluid-components/js/fluid/UIOptions.js
var previewFrame = that.locate("previewFrame").contents();
Line 162 of linked script http://build.fluidproject.org/fluid/fluid-components/js/fluid/UIOptions.js
updatePreview(that.model);
Line 169 of linked script http://build.fluidproject.org/fluid/fluid-components/js/fluid/UIOptions.js
initPreview(that);
Line 213 of linked script http://build.fluidproject.org/fluid/fluid-components/js/fluid/UIOptions.js
template = setupUIOptions(that);
Line 3 of inline#2 script in http://build.fluidproject.org/fluid/fluid-components/html/templates/UIOptions.html
fluid.uiOptions(".uiOptions");
... Line 2912 of linked script http://build.fluidproject.org/fluid/fluid-components/js/jquery/jquery-1.3.1.js
this.call( document, jQuery );
... Line 685 of linked script http://build.fluidproject.org/fluid/fluid-components/js/jquery/jquery-1.3.1.js
for ( var value = object[0];
Line 2911 of linked script http://build.fluidproject.org/fluid/fluid-components/js/jquery/jquery-1.3.1.js
jQuery.each( jQuery.readyList, function(){
Line 2936 of linked script http://build.fluidproject.org/fluid/fluid-components/js/jquery/jquery-1.3.1.js
jQuery.ready();
...
stacktrace: n/a; see 'opera:config#UserPrefs|Exceptions Have Stacktrace'

Environments

Opera 9.5 (Mac OS 10.5)

Comments

  • Justin Obara commented 2009-02-18T11:47:54.000-0500

    may be related to FLUID-2260

  • Justin Obara commented 2009-02-23T12:34:17.000-0500

    Appears to have been fixed

    Tested using:

    9.5, 9.6 (Mac OS 10.5)