tracker issue : CF-4132719

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

Issue when assigning values to a CFINPUT .

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): / ext-user (S Preethi)

Created: 03/29/2016

Components: Security, General

Versions: 2016

Failure Type:

Found In Build/Fixed In Build: CF12_GM /

Priority/Frequency: Major / Some users will encounter

Locale/System: English / Linux All,Mac 10 All,Solaris All,Win XP All

Vote Count: 0

Listed in the version 2016.0.01.298513 Issues Fixed doc
Verification notes: verified_fixed on September 29, 2019 using build 2016.0.01.298513
Problem:
Issue when assigning values to a CFINPUT .
The URL variables that are used to populate CFInput's for the CF Grid pages(for the customer) turns the URL variables  into special characters.

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

Watson Bug ID:	4132719

External Customer Info:
External Company:  
External Customer Name:  
External Customer Email:

Attachments:

Comments:

Test case: <cfset variables.childPrefix = 'resourceType'> <cfset variables.Prefix = 'resourceType'> <!---Variables are set on each page to define the pages that will be called ---> <cfset variables.componentPath = "#variables.prefix#.#variables.prefix#"> <cfset variables.componentMethod = "#variables.prefix#Select"> <cfset variables.searchDivID = "#variables.prefix#SearchDiv"> <cfset variables.gridDivID = "#variables.prefix#GridDiv"> <cfset variables.childGridDivID = "#variables.prefix#ChildGridDiv"> <cfset variables.mainPageURL = '/maint/#variables.prefix#/#variables.prefix#Home.cfm'> <cfset variables.searchPageURL = '/maint/#variables.prefix#/#variables.prefix#Search.cfm'> <cfset variables.gridPageURL = '/maint/#variables.prefix#/#variables.prefix#Grid.cfm'> <cfset variables.liteGridDivID = "#variables.prefix#LiteGridDiv"> <cfset variables.liteGridPageURL = '/liteGrid.cfm'> <cfset variables.childGridPageURL = '/maint/#variables.childPrefix#/#variables.childPrefix#Home.cfm'> <cfset variables.childLiteGridDivID = '#variables.prefix#LiteGridDiv'> <cfset variables.gridName = '#variables.prefix#Grid'> <!---We combine these variables to a another variable that will then be written to a CFINPUT so it is available in JavaScript later ---> <cfset variables.divURL ='&componentPath=#URLEncodedFormat (variables.componentPath)#' & '&componentMethod=#URLEncodedFormat(variables.componentMethod)#' & '&childPrefix=#URLEncodedFormat(variables.childPrefix)#' & '&childGridDivID=#URLEncodedFormat(variables.childGridDivID)#'> This looks exactly like it should <br> <cfoutput>#variables.divURL#</cfoutput><br> <br>Putting this in a CFINPUT causes &chi to be converted to a special character.<br> <cfform name="#variables.prefix#MainForm"> <cfinput type="text" name="#variables.prefix#DivURL" value="#variables.divURL#" size="500"> </cfform> <cfoutput>
Comment by S V.
3210 | March 29, 2016 02:22:58 AM GMT
Moving this to HF1 as this would encourage Hormel to migrate to CF 2016
Comment by Suresh J.
3211 | March 29, 2016 03:20:15 AM GMT
Have verified the fix on both CF2016 & CF11 hotfixes. Hence closing the bug.
Comment by S P.
3212 | April 01, 2016 02:32:30 AM GMT
Any plans to migrate this to CF10?
Comment by External U.
3213 | April 27, 2016 09:37:18 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.
31449 | September 29, 2019 06:04:25 AM GMT