Title:
Bug 82839:Function QueryConvertForGrid used to pad the query for CFGRID with empty rows in CF8
| View in TrackerStatus/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Mark Feldman / Mark Feldman (MarkMF123)
Created: 05/10/2010
Components: Language, Functions
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Win All
Vote Count: 0
Problem:
Function QueryConvertForGrid used to pad the query for CFGRID with empty rows in CF8. In CF9 the function behaviour is changed. It does not add empty rows up to the page length, forcing cfgrid to collapse in height and to only display the number of actual rows in the current page.
Method:
Set up a cfgrid with a pagesize=20. Bind it to cfc that returns a query for grid using QueryConvertForGrid function. Make it output a query with say 5 rows in it. Observe cfgrid collapse to height of just 5 rows (plus header). Check the JSON output from the function - it no longer consists of empty rows to pad up to 20 (current page size) as it used to do.
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041429
External Customer Info:
External Company:
External Customer Name: Mark Feldman
External Customer Email: 4D04020D4BE8D1260A04B82D
External Test Config: 05/10/2010
Attachments:
Comments: