Title:
[ANeff] Bug for: [Regression] cfgrid cell images cropped on initial page load
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/Workaround
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 12/08/2014
Components: AJAX
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: CF11_Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: ALL / Platforms All
Vote Count: 0
<cfgrid> crops cell images on initial page load (didn't occur in CF10)
Repro:
1) Uncomment grid 1, and see image is cropped in Firefox, Chrome and Safari but displays fully in IE
2) Reload the page in Firefox, Chrome and Safari, and see image displays fully
3) Comment-out grid 1 and uncomment grid 2, and see image is cropped in Firefox and Safari but displays fully in IE and Chrome
4) Reload the page in Firefox and Safari, and see image displays fully
Note: Attached to ticket is CF.PNG to use in this repro.
index.cfm
---------
<cfform>
<cfinput name="one" value="one">
<cfinput name="two" value="two">
<cfgrid name="grid1" format="html" selectmode="edit" bind="cfc:MyCFC.getGridData({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgridsortdirection})" onChange="cfc:MyCFC.setGridData({cfgridaction},{cfgridrow},{cfgridchanged})">
<cfgridcolumn name="myColumn">
</cfgrid>
</cfform>
<!---<cfform>
<cfgrid name="grid2" format="html">
<cfgridcolumn name="myColumn">
<cfgridrow data="<img src='https://tracker.adobe.com/api/search/./CF.png' />">
</cfgrid>
</cfform>--->
MyCFC.cfc
---------
component {
remote function getGridData(gridPage, gridPageSize, gridSortColumn, gridSortDirection) {
var q = queryNew("myColumn", "varchar", [["<img src='https://tracker.adobe.com/api/search/./CF.png' />"]]);
return queryConvertForGrid(q, ARGUMENTS.gridPage, ARGUMENTS.gridPageSize);
}
remote function setGridData(gridAction, gridRow, gridChanged) {}
}
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3864168
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
- December 08, 2014 00:00:00: 1_CF.PNG
Comments: