There are no administrator settings for this. ( problem raised )
The wrong solution is to create a wrapper for the cfdump tag by renaming {cfusion}/wwwroot/WEB-INF/cftags/dump.cfm to (for example) origdump.cfm and then creating a new dump.cfm file containing:
<cfif isObject(attributes.var) AND NOT StructKeyExists(attributes,'top')> <cfset attributes.top = 3 /> </cfif> <cforigdump attributecollection=#attributes# /> <cfexit method="exitTag" />
Fortunately, the writeDump function will call this wrapper (therefore, it works for both the tag and the function).
Unfortunately, the shell is not called recursively - if the ORM object is in a structure or an array, then the original problem still appears - perhaps a preliminary check of complex variables can be determined if there is an internal relationship and set the corresponding upper value, but this can be achieved only a limited solution (i.e. would affect neighboring structures / arrays).
source share