tracker issue : CF-4126381

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

CFDump New Parameter UseJavaObject

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Travis Walters / Travis Walters (Travis Walters)

Created: 03/09/2016

Components: Debugging

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: RC1_v12 /

Priority/Frequency: Minor / Unknown

Locale/System: English / Win All

Vote Count: 0

It is very common for a lot of shared servers to have certain ColdFusion tags and/or functionalities disabled. One of which I have found very common is creating Java Objects. One ColdFusion function that does this is cfdump. While developers should be developing websites locally, there are a lot of times they do not do so especially when the employer likes to see what is happening on a regular basis. Sometimes websites that have already been up for awhile experience some error and it is hard to diagnose because creating Java Objects with the cfdump tag is not currently possible.

What I propose is a new parameter called UseJavaObject that would default to true and when it is true, cfdump would act like it does not. However. when it is set to false, it could avoid using Java objects to dump out variable data.

There is some code here by Russ Michaels (with the original JS Dump being created by Shuns) that could be used here for inspiration:

http://www.michaels.me.uk/post.cfm/cfdump-alternative

http://cfdump.riaforge.org/

I am attaching those files to this request for your convenience.

Again, this will help people in debugging with shared server situations where create Java Objects with cfdump is not possible do to security restrictions setup by the hosting company.

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4126381

External Customer Info:
External Company:  
External Customer Name: Travis Walters
External Customer Email: TWALTERS84@HOTMAIL.COM
External Test Config:  


Bug File Paths:
\\sjshare.corp.adobe.com\Prereleasebugfiles\ColdFusion\12.0\RC1_v12\4118121\dump1.zip

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Fix By Milestone newValue: Alpha oldValue: Blank oprid: preethi recordName: RQ_DEFECT timpestamp: 2016-02-22 09:00:44.0 action: updated fieldName: Priority newValue: 1 oldValue: 0 oprid: preethi recordName: RQ_DEFECT timpestamp: 2016-02-22 09:00:44.0 action: updated fieldName: Owner newValue: himar oldValue: preethi oprid: preethi recordName: RQ_DEFECT timpestamp: 2016-02-22 09:00:44.0 action: updated fieldName: Fix By Product Milestone newValue: Alpha oldValue: Blank oprid: preethi recordName: RQ_DEFECT timpestamp: 2016-02-22 09:00:44.0 action: updated fieldName: Reason newValue: Blank oldValue: Blank oprid: preethi recordName: RQ_DEFECT timpestamp: 2016-02-22 09:00:44.0 action: updated fieldName: Status newValue: ToFix oldValue: Unverified oprid: preethi recordName: RQ_DEFECT timpestamp: 2016-02-22 09:00:44.0
Comment by CFwatson U.
4338 | March 09, 2016 01:51:01 AM GMT
Added By: PreRelease User User Name:Travis Walters Note Added: Entered Feature. Date Added :2016-02-16 10:34:55.0
Comment by CFwatson U.
4339 | March 09, 2016 01:51:03 AM GMT