Is this a bug? Or should I be doing something different in CF 2016 to handle a method that returns no data?
My exact version is 2016.0.0.298074.
Below is the code I'm testing with. First, the page with the cfgrid:
<cffunction name="getColors" access="public" returntype="query" output="false"> <cfset var q = 0> <cfset qColors = getDataSet()> <cfquery dbtype="query" name="q"> SELECT COLOR, ALT FROM qColors ORDER BY COLOR ASC </cfquery> <cfreturn q> </cffunction>