Skip to content
Compare
Choose a tag to compare
@imodeljs-admin imodeljs-admin released this 04 Oct 06:37
· 91 commits to master since this release
7d4d584

Patch Changes

  • #720: Fixed iModel hierarchy provider returning unfiltered nodes after setting the hierarchy filter in certain scenarios.

    The situation could happen when a new hierarchy filter is set during an ongoing nodes request. Then, requesting nodes immediately after setting the filter could return nodes from the previous request.

    The change also slightly changes what happens with ongoing requests when hierarchy provider's internal state is reset: provider is disposed, the imodelChanged event is raised or hierarchy filter is set. Previously, it would continue handling all ongoing requests and return a valid result. Now, it will stop ASAP and return an empty list.