tracker issue : CF-4126485

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

[ANeff] Bug for: cached query breaks serializeJSON()

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

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

Created: 03/09/2016

Components: Caching

Versions: 2016

Failure Type: Unspecified

Found In Build/Fixed In Build: Beta2_v12 /

Priority/Frequency: Trivial / Unknown

Locale/System: English / Win All

Vote Count: 0

cached query breaks serializeJSON()

Repro:

<cfscript>
  q = queryExecute("SELECT * FROM art WHERE artID = 1", [], {datasource="cfartgallery", cachedWithin=createTimeSpan(0,0,0,30)});
  writeDump(q);
  writeDump(serializeJSON(q));
</cfscript>

Actual serializeJSON(q) result: {"COLUMNS":[],"DATA":[[]]}

Expected serializeJSON(q) result: {"COLUMNS":["ARTID","ARTISTID","ARTNAME","DESCRIPTION","PRICE","LARGEIMAGE","MEDIAID","ISSOLD"],"DATA":[[1,1,"charles1","Pastels/Charcoal",10000,"aiden01.jpg",1,1]]}

Thanks to David for coming across this. Related thread: http://prerelease.adobe.com/r/?8214383bf8d743d4baead8f89becdbbd

The cached query issues have been plentiful. Please put extra focus on this area.

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

Watson Bug ID:	4126485

External Customer Info:
External Company:  
External Customer Name: Aaron Neff
External Customer Email: adobelabs@itisdesign.com
External Test Config:

Attachments:

Comments:

Adding BUG AUDIT TRAIL ********action: updated fieldName: Reason newValue: Blank oldValue: Fixed oprid: inoel recordName: RQ_DEFECT timpestamp: 2016-01-04 09:52:52.0 action: updated fieldName: Closed By newValue: inoel oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2016-01-04 09:52:52.0 action: updated fieldName: Date Closed newValue: 2016-01-04 01:52:52.0 oldValue: Blank oprid: inoel recordName: RQ_DEFECT timpestamp: 2016-01-04 09:52:52.0 action: updated fieldName: Owner newValue: Blank oldValue: inoel oprid: inoel recordName: RQ_DEFECT timpestamp: 2016-01-04 09:52:52.0 action: updated fieldName: State newValue: Closed oldValue: Open oprid: inoel recordName: RQ_DEFECT timpestamp: 2016-01-04 09:52:52.0 action: updated fieldName: Status newValue: Fixed oldValue: ToTest oprid: inoel recordName: RQ_DEFECT timpestamp: 2016-01-04 09:52:52.0 action: updated fieldName: Fix By Product Milestone newValue: Gold Master oldValue: Blank oprid: sanniset recordName: RQ_DEFECT timpestamp: 2015-12-24 11:16:34.0 action: updated fieldName: Fix By Milestone newValue: Gold Master oldValue: Blank oprid: sanniset recordName: RQ_DEFECT timpestamp: 2015-12-24 11:16:34.0 action: updated fieldName: Dev Assigned newValue: sanniset oldValue: awdhesh oprid: sanniset recordName: RQ_DEFECT timpestamp: 2015-12-24 11:16:18.0 action: updated fieldName: Reason newValue: Fixed oldValue: Blank oprid: sanniset recordName: RQ_DEFECT timpestamp: 2015-12-24 11:14:21.0 action: updated fieldName: Fixed By newValue: sanniset oldValue: Blank oprid: sanniset recordName: RQ_DEFECT timpestamp: 2015-12-24 11:14:21.0 action: updated fieldName: Changelist newValue: 297222 oldValue: Blank oprid: sanniset recordName: RQ_DEFECT timpestamp: 2015-12-24 11:14:21.0 action: updated fieldName: Date Fixed newValue: 2015-12-24 03:14:21.0 oldValue: Blank oprid: sanniset recordName: RQ_DEFECT timpestamp: 2015-12-24 11:14:21.0 action: updated fieldName: Status newValue: ToTest oldValue: Unverified oprid: sanniset recordName: RQ_DEFECT timpestamp: 2015-12-24 11:14:21.0 action: updated fieldName: Dev Assigned newValue: awdhesh oldValue: sanniset oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-12-24 08:52:31.0 action: updated fieldName: Owner newValue: inoel oldValue: aksriniv oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-12-24 08:52:31.0 action: updated fieldName: QE Assigned newValue: inoel oldValue: aksriniv oprid: vmannebo recordName: RQ_DEFECT timpestamp: 2015-12-24 08:52:31.0
Comment by CFwatson U.
3990 | March 09, 2016 02:17:10 AM GMT
Added By: PreRelease User User Name:Aaron Neff Note Added: The forum thread discussing this ticket is: http://prerelease.adobe.com/r/?b5f6a6d32c93444fb3d85af1efa1bc60 Please follow-up in that thread, not here in this ticket. Date Added :2015-12-24 08:44:18.0 Added By: PreRelease User User Name:Aaron Neff Note Added: Entered Bug. Date Added :2015-12-24 08:38:19.0
Comment by CFwatson U.
3991 | March 09, 2016 02:17:11 AM GMT