tracker issue : CF-4202537

select a category, or use search below
(searches all categories and all time range)
Title:

[ANeff] Bug for: dump hides object methods

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/Fixed

Reporter/Name(from Bugbase): Aaron Neff / ()

Created: 05/20/2018

Components: Language, Null Support

Versions: 2018

Failure Type: Incorrectly functioning

Found In Build/Fixed In Build: 2018.0.01.308605 (PreRelease) / 2018,0,0,309659

Priority/Frequency: Normal / Some users will encounter

Locale/System: / Platforms All

Vote Count: 0

Issue: dump hides object methods

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

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

Actual Result:
-----------
struct

ARGUMENTS: [struct]
THIS: [[cfc1] component MyCFC]
-----------

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

ARGUMENTS: [struct]
THIS: [[cfc1] component MyCFC]
        Methods: 
          F
            [function]
            Arguments: none 
            ReturnType: Any 
            Roles:  
            Access: public 
            Output:   
            DisplayName:  
            Hint:  
            Description:  
-----------

Related post: http://blog.cfaether.com/2018/05/dump-hides-object-methods.html

Attachments:

Comments: