Working with "v11.1p_2017-07-21/Pro Deployment" under FireFox. (upgrading to 11.1 from 11.0)
We do some work directly with a ResultTree and criteria at creation, processing information when data has arrived.
Basically, we do
That used to work fine under 11.0, but criteria no longer works under 11.1.
Basically, when the ResultTree is created, it tries to open the root node and this ends up firing tree.loadChildren to load the root node.
From my observation, loadChildren no longer carries the criteria (it always passes null as criteria)... I would have expected it to use the criteria + implicitCriteria as it used to.
Digging a bit deeper, I see that the call to _loadChildren from loadChildren now lands in the implementation in core (tree._loadChildren), while it used to get to the implementation in DataBinding - where all the good stuff that handles the criteria still remains.
We do some work directly with a ResultTree and criteria at creation, processing information when data has arrived.
Basically, we do
Code:
myFilteredTree = ResultTree.create({ dataSource : this.searchTree.getDataSource(), criteria : { aggregateSearch : searchTerm }, openProperty : 'isOpenInSearch', modelType : 'parent', dataArrived : function() { // ... } });
Basically, when the ResultTree is created, it tries to open the root node and this ends up firing tree.loadChildren to load the root node.
From my observation, loadChildren no longer carries the criteria (it always passes null as criteria)... I would have expected it to use the criteria + implicitCriteria as it used to.
Digging a bit deeper, I see that the call to _loadChildren from loadChildren now lands in the implementation in core (tree._loadChildren), while it used to get to the implementation in DataBinding - where all the good stuff that handles the criteria still remains.
Comment