Title:
cfpresentation fails to load js scripts when the CFIDE/scripts dir is relocated.
| View in TrackerStatus/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): / ext-user (Piyush Kumar Nayak)
Created: 09/27/2014
Components: Document Management, Presentation
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: 291346 /
Priority/Frequency: Normal / Few users will encounter
Locale/System: English / Windows 7 SP1 64-bit
Vote Count: 0
Problem:
cfpresentation fails to load js scripts when the CFIDE/scripts location is changed.
Method:
(tested on CF11 GM + HF1)
log into the CF Admin console > Settings> (Default ScriptSrc Directory)
set the scripts location to a non default location.
open the browser debugger and observe the network/console tab.
run the test case below:
<cfpresentation title="my title" format="html">
<cfpresentationslide>foo</cfpresentationslide>
<cfpresentationslide>bar</cfpresentationslide>
</cfpresentation>
Result:
GET http://localhost/CFIDE/scripts/ajax/package/cfajax.js _cfpresentationslide.cfm:8
GET http://localhost/CFIDE/scripts/ajax/yui/yahoo-dom-event/yahoo-dom-event.js _cfpresentationslide.cfm:9
GET http://localhost/CFIDE/scripts/ajax/yui/animation/animation-min.js _cfpresentationslide.cfm:10
GET http://localhost/CFIDE/scripts/ajax/messages/cfmessage.js _cfpresentationslide.cfm:7
GET http://localhost/CFIDE/scripts/ajax/ext/adapter/yui/ext-yui-adapter.js _cfpresentationslide.cfm:11
GET http://localhost/CFIDE/scripts/ajax/ext/ext-all.js _cfpresentationslide.cfm:12
GET http://localhost/CFIDE/scripts/ajax/ext/package/util.js _cfpresentationslide.cfm:13
GET http://localhost/CFIDE/scripts/ajax/resources/ext/css/ext-all.css _cfpresentationslide.cfm:19
GET http://localhost/CFIDE/scripts/ajax/ext/package/splitbar.js _cfpresentationslide.cfm:16
GET http://localhost/CFIDE/scripts/ajax/ext/package/layout/layout.js _cfpresentationslide.cfm:17
GET http://localhost/CFIDE/scripts/ajax/ext/package/dragdrop/dragdrop.js _cfpresentationslide.cfm:15
GET http://localhost/CFIDE/scripts/ajax/package/cflayout.js _cfpresentationslide.cfm:18
Uncaught ReferenceError: ColdFusion is not defined _cfpresentationslide.cfm:26
Uncaught ReferenceError: ColdFusion is not defined _cfpresentationslide.cfm:58
Expected:
The cfpresentation should be looking for the js files in the new location, not the default one.
related bug: #3737272
Workaround:n/a
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3832672
External Customer Info:
External Company:
External Customer Name:
External Customer Email:
Attachments:
Comments: