FLUID-2313: "previewEnhancer is undefined" error is thrown in unit tests

Metadata

Source
FLUID-2313
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
Michelle D'Souza
Reporter
Justin Obara
Created
2009-03-06T09:40:30.000-0500
Updated
2009-03-20T16:30:41.000-0400
Versions
N/A
Fixed Versions
  1. 1.0
Component
  1. UI Options

Description

"previewEnhancer is undefined" error is thrown in unit tests

Steps to reproduce

1) Open the UI Options unit test page
http://build.fluidproject.org/fluid/tests/fluid-tests/UIOptions-test.html

Notice that an error is thrown

Error: previewEnhancer is undefined
Line: 238
File: UIOptions.js

Environments

FF2, FF3, Opera 9.6 (Mac OS 10.5)
FF2, FF3, IE6, IE7 (Win XP)
FF3, IE7 (Win Vista)
IE6 (Win 2000)

Comments

  • Justin Obara commented 2009-03-12T12:46:16.000-0400

    Bug Parade 1.0 release

  • Anastasia Cheetham commented 2009-03-20T16:21:46.000-0400

    I've reviewed this change with Michelle. It's odd that the guard is necessary, but it works, and causes no problems. +1

  • Justin Obara commented 2009-03-20T16:30:41.000-0400

    Verified fix using:

    FF2, FF3, Opera 9.6, Safari 3.2(Mac OS 10.5)
    FF2, FF3, IE7 (Win XP)
    FF3, IE7 (Win Vista)