Thank you for reporting this bug. We will make it our priority to review this report.
Maximum call stack exceeded when filtering associated store
Maximum call stack exceeded when filtering associated store
Hi,
I've come across an issue with filtering an associated store which results in a "Maximum call stack exceeded" error.
You can reproduce the error by opening the "Loading Nested Data Example" (http://ift.tt/1prbRa1) and running the following code in the console:
Code:
Ext.getStore('Books').getAt(0).reviews().filterBy(function(rec){
return rec.get('rating') > 3;
});Ext version tested:
Browser versions tested against:- Chrome 39.0.2171.71 (OSX Yosemite)
Description:- When attempting to filter an associated data store using the 'filterBy' method it results in a "Maximum call stack exceeded" error.
Steps to reproduce the problem:Code:
Ext.getStore('Books').getAt(0).reviews().filterBy(function(rec){
return rec.get('rating') > 3;
});
The result that was expected:- The store to be filtered and no error to be thrown
The result that occurs instead:- "Maximum call stack exceeded" error
Maximum call stack exceeded when filtering associated store
Aucun commentaire:
Enregistrer un commentaire