tracker issue : CF-3737272

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

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 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:

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

/CFIDE/scripts/cfformhistory.cfm matches




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

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

<elements basePath="/CFIDE/scripts/ajax/resources/cf/smp/tablet-images/incontext/">

<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:



[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