Sunday, May 20, 2018

CF-4202537 - dump hides object methods

Issue: dump hides object methods

Steps to Reproduce:
1) Enable NULL support
2) Create MyCFC.cfc having component {function f() {return local}}
3) Run:

<cfscript>
  o = new MyCFC()
  writeDump(o.f())
</cfscript>

Actual Result:

struct
ARGUMENTS
struct [empty]
THIS
component MyCFC

Expected Result (and actual result w/ NULL support disabled):

struct
ARGUMENTS
struct [empty]
THIS
component MyCFC
METHODS
F
function f
Arguments: none
ReturnType: Any
Roles:  
Access: public
Output:  
DisplayName:  
Hint:  
Description:  
Verified in build 2018.0.01.308605 (PreRelease).
Filed as CF-4202537.

No comments:

Post a Comment

ColdFusion member functions for XML object management

Prior to ColdFusion 2018, ColdFusion supported the following XML member functions : .elemNew() (equivalent of XmlElemNew ) .childPos(...