tracker issue : CF-3737272

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

Hard Coded References to /CFIDE/scripts

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Peter Freitag / Peter Freitag (Peter Freitag)

Created: 04/04/2014

Components: AJAX

Versions: 11.0

Failure Type: Incorrect w/Workaround

Found In Build/Fixed In Build: Beta_v11 / CF10_Update14

Priority/Frequency: Normal / Some users will encounter

Locale/System: English / Linux CentOS 6.4

Vote Count: 1

Listed in the version 11.0.03.292480 Issues Fixed doc
Problem Description: There are several hard coded references to /CFIDE/scripts/ -- the /CFIDE/scripts path can be changed in the ColdFusion administrator causing the features that rely on a hard coded value to fail:

/CFIDE/scripts/xsl/_cfformvalidation.xsl:6:
<script language="JavaScript" type="text/javascript" src="/CFIDE/scripts/cfform.js"/>

/CFIDE/scripts/cfformhistory.cfm matches

/CFIDE/scripts/ajax/package/cfwebsocketCore.js:1069:
WebSocket.__swfLocation=_cf_contextpath+"/CFIDE/scripts/ajax/resources/websocket/WebSocketMain.swf";

/CFIDE/scripts/ajax/package/cfwebsocketCore.js:1070:
WEB_SOCKET_SWF_LOCATION=_cf_contextpath+"/CFIDE/scripts/ajax/resources/websocket/WebSocketMain.swf";

/CFIDE/scripts/ajax/package/cfajax.js:1283:
Ext.BLANK_IMAGE_URL=_cf_contextpath+"/CFIDE/scripts/ajax/resources/ext/images/default/s.gif";

/CFIDE/scripts/ajax/smp/StrobeMediaPlayer.js:45:							
flashvars.skin = "/CFIDE/scripts/ajax/resources/cf/skins/"+device.getProfile().type+"-skin.xml" 

/CFIDE/scripts/ajax/resources/cf/uploadfile.css:136:    
background: #e0e8f3 url(/CFIDE/scripts/ajax/resources/ext/images/default/qtip/bg.gif) repeat-x;

/CFIDE/scripts/ajax/resources/cf/skins/tablet-skin.xml:3:	
<elements basePath="/CFIDE/scripts/ajax/resources/cf/smp/tablet-images/incontext/">

/CFIDE/scripts/ajax/resources/cf/skins/smartphone-skin.xml:3:	
<elements basePath="/CFIDE/scripts/ajax/resources/cf/smp/mobile-images/">

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3737272

External Customer Info:
External Company:  
External Customer Name: pete_freitag
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments:

[subscribe] -- Adam ///////////////////////
Vote by External U.
12871 | April 05, 2014 04:37:19 AM GMT
Adobe, This was not completely fixed. The following still exists in CF11 Update 3: /CFIDE/scripts/xsl/_cfformvalidation.xsl:6: <script language="JavaScript" type="text/javascript" src="/CFIDE/scripts/cfform.js"/> Thanks!, -Aaron P.S. Nice work Pete! I was going to file this same ticket over the summer but forgot. But I had somehow missed the _cfformvalidation.xsl:6 and StrobeMediaPlayer.js:45 references. So, again, good work!
Comment by External U.
12867 | November 03, 2014 11:31:48 PM GMT
@Aaron, the code you are referring to is inside comment and is not actually a code. So that should not be a problem at all.
Comment by Rupesh K.
12868 | November 04, 2014 03:52:40 AM GMT
Hi Rupesh, You're right :) Thanks!, -Aaron
Comment by External U.
12869 | November 04, 2014 04:24:01 PM GMT
The xmlns for the cf namespace points to an invalid domain in that file. Not that it really matters, but it's indicative of the attn to detail in this area of CFML.
Comment by External U.
12870 | November 04, 2014 05:08:48 PM GMT