tracker issue : CF-3861751

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

CFDump TOP attribute should not be used for two different things

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Adam Tuttle / Adam Tuttle (Adam Tuttle)

Created: 12/03/2014

Components: Debugging, CFDump

Versions: 11.0

Failure Type: Usability Issue

Found In Build/Fixed In Build: CF11_Final /

Priority/Frequency: Major / All users will encounter

Locale/System: ALL / Platforms All

Vote Count: 7

If you want to dump an array of ORM entities to verify that it contains the entities you're expecting, and it might contain 15 items, you need to set top=15 to allow all 15 to display; however top is also used for ORM relationship depth, which will quickly result in OOM errors and requests that take WAY too long to respond if you set it to 15.

The TOP attribute should be split into two: MAXROWS and MAXDEPTH, or TOP and DEPTH, or something like that.

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

Watson Bug ID:	3861751

External Customer Info:
External Company:  
External Customer Name: Adam Tuttle
External Customer Email:  
External Test Config: My Hardware and Environment details:



N/A

Attachments:

Comments:

Very much agreed. Same applies for all data structures, not just arrays of entities, really.
Vote by External U.
9740 | December 03, 2014 03:45:04 PM GMT
This would be most helpful.
Vote by External U.
9741 | December 03, 2014 03:59:18 PM GMT
This is a must. Everytime I have to work on an app built with CF ORM this bites me - though guess I was just too lazy to raise a bug for it. Good work Adam!
Vote by External U.
9742 | December 03, 2014 04:09:09 PM GMT
+1 “No space of regret can make amends for one life's opportunity misused” ? Charles Dickens, A Christmas Carol
Vote by External U.
9743 | December 04, 2014 12:34:45 PM GMT
+1 ......................
Vote by External U.
9744 | December 06, 2014 06:28:08 AM GMT
+1 ..........................
Vote by External U.
9745 | December 08, 2014 08:42:27 AM GMT
+1 ..........................
Vote by External U.
9746 | July 31, 2015 12:50:16 AM GMT