tracker issue : CF-3832672

select a category, or use search below
(searches all categories and all time range)
Title:

cfpresentation fails to load js scripts when the CFIDE/scripts dir is relocated.

| View in Tracker

Status/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

Listed in the version 2016.0.0.297996 Issues Fixed doc
Verification notes: verified_fixed on May 18, 2018 using build 2016.0.01.298513
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:

cfpresentation is looking for the js files in the new location. (Comment added from ex-user id:prk)
Comment by Adobe D.
10812 | December 22, 2014 04:21:17 AM GMT
Hi Adobe, I've verified this is fixed in CF2016 Update 1 (build 2016.0.01.298513). Thanks!, -Aaron
Comment by Aaron N.
27861 | May 18, 2018 02:32:56 AM GMT