Metadata
- Source
- FLUID-4239
- Type
- Bug
- Priority
- Critical
- Status
- Closed
- Resolution
- Fixed
- Assignee
- Justin Obara
- Reporter
- Justin Obara
- Created
2011-05-16T12:02:31.563-0400 - Updated
2011-06-20T15:30:36.115-0400 - Versions
- N/A
- Fixed Versions
-
- 1.4
- Component
-
- Demos
- UI Options
Description
Steps to reproduce:
1) Open the UI Options integration demo
http://build.fluidproject.org/infusion/integration-demos/sakai/html/ui-options-fss-sakai.html
Note that the component doesn't fully initialize because of the errors.
I'm not sure if this is a dependency issue or something, because the demo still works.
Here is the Console Log:
Mon May 16 2011 11:55:20 GMT-0400 (EDT): ASSERTION FAILED: Cannot autoInit component fluid.uiOptions.controls which does not have an initFunction and gradeName defined
Fluid.js (line 135)
message.fail is not a function
[Break On This Error] message.fail(); // Intenti...r by invoking a nonexistent function.
Fluid.js (line 62)
Mon May 16 2011 11:55:20 GMT-0400 (EDT): Resolving demands for function names ["fluid.transformOptions"] in context of component fluid.uiEnhancer
Fluid.js (line 135)
Mon May 16 2011 11:55:20 GMT-0400 (EDT): Components in scope for resolution: { typeName: "fluid.uiEnhancer" id: 5} { typeName: "fluid.dynamicEnvironment" id: 4} { typeName: "fluid.instantiator" id: 7} { typeName: "fluid.staticEnvironment" id: 2} { typeName: "fluid.browser" id: 3}
Fluid.js (line 135)
Mon May 16 2011 11:55:20 GMT-0400 (EDT): Beginning instantiation of component with name "settingsStore" as child of { typeName: "fluid.uiEnhancer" id: 5}
Fluid.js (line 135)
Mon May 16 2011 11:55:20 GMT-0400 (EDT): Resolving demands for function names ["fluid.uiEnhancer.cookieStore", "settingsStore"] in context of component fluid.uiEnhancer
Fluid.js (line 135)
Mon May 16 2011 11:55:20 GMT-0400 (EDT): Components in scope for resolution: { typeName: "fluid.uiEnhancer" id: 5} { typeName: "fluid.dynamicEnvironment" id: 4} { typeName: "fluid.instantiator" id: 12} { typeName: "fluid.staticEnvironment" id: 2} { typeName: "fluid.browser" id: 3}
Fluid.js (line 135)
Mon May 16 2011 11:55:20 GMT-0400 (EDT): No matches found for demands, using direct implementation
Fluid.js (line 135)
Mon May 16 2011 11:55:20 GMT-0400 (EDT): Resolving demands for function names ["fluid.transformOptions"] in context of component fluid.uiEnhancer.cookieStore
Fluid.js (line 135)
Mon May 16 2011 11:55:20 GMT-0400 (EDT): Components in scope for resolution: { typeName: "fluid.uiEnhancer.cookieStore" id: 15} - path: settingsStore { typeName: "fluid.uiEnhancer" id: 5} { typeName: "fluid.dynamicEnvironment" id: 4} { typeName: "fluid.instantiator" id: 12} { typeName: "fluid.staticEnvironment" id: 2} { typeName: "fluid.browser" id: 3}
Fluid.js (line 135)
Mon May 16 2011 11:55:20 GMT-0400 (EDT): Finished instantiation of component with name "settingsStore" as child of { typeName: "fluid.uiEnhancer" id: 5}
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): Resolving demands for function names ["fluid.transformOptions"] in context of component fluid.uiOptions
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): Components in scope for resolution: { typeName: "fluid.uiOptions" id: 17} { typeName: "fluid.dynamicEnvironment" id: 4} { typeName: "fluid.instantiator" id: 19} { typeName: "fluid.staticEnvironment" id: 2} { typeName: "fluid.browser" id: 3}
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): Resolving demands for function names ["fluid.transformOptions"] in context of component fluid.fetchResources
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): Components in scope for resolution: { typeName: "fluid.fetchResources" id: 25} { typeName: "fluid.dynamicEnvironment" id: 4} { typeName: "fluid.instantiator" id: 27} { typeName: "fluid.staticEnvironment" id: 2} { typeName: "fluid.browser" id: 3}
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): Request with key template queued for ../../../components/uiOptions/html/UIOptions.html
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): First request for cached resource with url ../../../components/uiOptions/html/UIOptions.html
Fluid.js (line 135)
GET http://build.fluidproject.org/infusion/components/uiOptions/html/UIOptions.html?_=1305561321027
200 OK
108ms
jquery.js (line 7829)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): Handling request for ../../../components/uiOptions/html/UIOptions.html from cache
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): Request to URL ../../../components/uiOptions/html/UIOptions.html completed - total elapsed time: 211ms
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): Beginning instantiation of component with name "controls" as child of { typeName: "fluid.uiOptions" id: 17}
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): Resolving demands for function names ["fluid.uiOptions.controls", "controls"] in context of component fluid.uiOptions
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): Components in scope for resolution: { typeName: "fluid.uiOptions" id: 17} { typeName: "fluid.uiEnhancer" id: 5} { typeName: "fluid.dynamicEnvironment" id: 4} { typeName: "fluid.instantiator" id: 20} { typeName: "fluid.staticEnvironment" id: 2} { typeName: "fluid.browser" id: 3}
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): No matches found for demands, using direct implementation
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): ASSERTION FAILED: Error invoking global function: fluid.uiOptions.controls could not be located while instantiating dependent component with name "controls" with record Object { type="fluid.uiOptions.controls", priority="first", more...} as child of Object { typeName="fluid.uiOptions", id=17, more...}
Fluid.js (line 135)
Mon May 16 2011 11:55:21 GMT-0400 (EDT): FireEvent received exception message.fail is not a function e TypeError: message.fail is not a function firing to listener 0
Fluid.js (line 135)
message.fail is not a function
[Break On This Error] message.fail(); // Intenti...r by invoking a nonexistent function.
Fluid.js (line 62)
Environments
IE 8 (Win 7)
IE 7 (Win XP)
FF 4 (Mac OS 10.6, Win 7)
Safari 5 (Mac OS 10.6)
Comments
-
Justin Obara commented
2011-05-17T09:39:53.743-0400 Bug Parade Infusion
-
Harris Wong commented
2011-05-30T16:54:53.706-0400 As well as:
GET http://localhost/fluid/infusion/src/webapp/integration-demos/sakai/js/sakai.js 404 (Not Found) -
Harris Wong commented
2011-05-31T14:45:11.606-0400 FLUID-4239: Added missing RendererUtilities.js. Took out jquery.ui.position.js and jquery.ui.draggable.js since they are not needed in this demo. Also took out sakai.js since the file does not exist.
Pull request: https://github.com/fluid-project/infusion/pull/60
-
Harris Wong commented
2011-05-31T14:45:45.687-0400 Needs commit