Opened 8 years ago

Closed 8 years ago

#15269 closed defect (fixed)

ItemFileReadStore: failure in _handleQueuedFetches

Reported by: bill Owned by: Karl Tiedt
Priority: undecided Milestone: 1.8
Component: Data Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

From loading themeTester.html I get an error where this._containsValue is not a function, due to the no-context call to delayedFilter() in _handleQueuedFetches():

_handleQueuedFetches: function(){
	//	summary:
	//		Internal function to execute delayed request in the store.
	//Execute any deferred fetches now.
	if(this._queuedFetches.length > 0){
		for(var i = 0; i < this._queuedFetches.length; i++){
			var fData = this._queuedFetches[i],
				delayedQuery = fData.args,
				delayedFilter = fData.filter;
			if(delayedFilter){
				delayedFilter(delayedQuery, this._getItemsArray(delayedQuery.queryOptions));
			}else{
				this.fetchItemByIdentity(delayedQuery);
			}
		}
		this._queuedFetches = [];
	}
},

Tested on FF/mac.

Change History (2)

comment:1 Changed 8 years ago by bill

Milestone: tbd1.8
Owner: changed from Kris Zyp to Karl Tiedt
Status: newassigned

Failure started in [28416].

comment:2 Changed 8 years ago by Karl Tiedt

Resolution: fixed
Status: assignedclosed

In [28450]:

Fixes #15269 - scoping issue and missing stored reference to findCallback !strict

Note: See TracTickets for help on using tickets.