Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Eric Gutke / Eric Gutke (Eric Gutke)
Created: 04/02/2015
Components: AJAX, UI Components
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Windows 7 SP1 64-bit
Vote Count: 2
Problem Description:
CFGRID is bound to a CFC that returns query results. One of the CFGRIDCOLUMN uses the HREF attribute with one of the columns of the returned query. This worked fine in CF9, but in CF11 the HREF link is trying to open the literal name of the column, not the value from the query.
Steps to Reproduce:
Here is the code that previously worked. The bind CFC returns a queryConvertForGrid() query that includes itemid and getURL columns.
<cfgrid
name="myGrid"
bindOnLoad="yes"
format="html"
appendKey="no"
pageSize="20"
stripeRows="yes"
selectMode="edit"
selectOnLoad="no"
onChange="javascript: checkStatus({cfgridaction},{cfgridrow},{cfgridchanged})"
width="1150"
bind="cfc:Maintenance.findItems(
itemId={itemId@change},
gridPage={cfgridpage},
gridPageSize={cfgridpagesize},
gridSortColumn={cfgridsortcolumn},
gridSortDirection={cfgridsortdirection}
)" >
<cfgridcolumn name="itemId" header="Item ID" dataalign="left" select="no" width="70">
<cfgridcolumn name="name" header="Name" dataalign="left" select="no" width="300" href="getURL">
Actual Result:
The value of the getURL column returned is "http://myReturnedURL.com", however the link produced in the CFGRIDCOLUMN is actually "{webroot}/getURL"
Expected Result:
The link produced in the CFGRIDCOLUMN should be "http://myReturnedURL.com"
Any Workarounds:
None so far.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3964189
External Customer Info:
External Company:
External Customer Name: Eric
External Customer Email:
External Test Config: My Hardware and Environment details:
Server Product ColdFusion
Version 11,0,04,293328
Edition Developer
Operating System Windows 7
OS Version 6.1
Update Level /D:/ColdFusion11/cfusion/lib/updates/chf11000004.jar
Adobe Driver Version 5.1.3 (Build 000094)
Attachments:
- April 03, 2015 00:00:00: 1_serversettings.pdf
Comments: