FLUID-5271: Closures guarding model transformations files have improper argument lists

Metadata

Source
FLUID-5271
Type
Bug
Priority
Blocker
Status
Closed
Resolution
Fixed
Assignee
Antranig Basman
Reporter
Antranig Basman
Created
2014-02-11T02:36:36.314-0500
Updated
2014-03-03T11:23:39.406-0500
Versions
  1. 1.4
Fixed Versions
  1. 1.5
Component
  1. Model Transformation System

Description

In debugging use of the framework with the uPortal team, it was discovered that the file closure structure of the files ModelTransformation.js and ModelTransformationTransforms.js is incorrect. The argument list at the base of the files is correct with

})(jQuery, fluid_1_5);

unfortunately the parameters declared at the head of the function contains only (function ($) { - this causes the "fluid" argument to be thrown onto the floor and the file contents resolve only via globals. This is a serious problem in the uPortal environment where both fluid and fluid_1_5 globals are aggressively assigned to null in order to ensure each portal may successfully load its own libraries.

Comments

  • Michelle D'Souza commented 2014-02-11T12:46:04.085-0500

    merged into project repo at d0d2e046f65d58bd63bbfcdc98aa99f8a40eac89