Skip to main content
Question

findAllWithCriteria Instances bug


Graham_Paterson

Summary
Running findAllWithCriteria({types : ['INSTANCE']}) and then accessing properties on the returned instances causes subsequent calls to return ±5x the amount of results.

Additional Info

  • This doesn’t seem to happen on other node types, just INSTANCE nodes
  • skipInvisibleChildren is set to false (running with it on does the same thing, just less)
  • Running a custom traversal function returns the 5x amount.
  • Accessing the id property doesn’t seem to trigger the amount increase.
  • The instances in the large array seem to have unique ids.
  • There’s also a small difference between calling it once and second time but remains consistent after the second call.

Any info/help would be appreciated.

This topic has been closed for replies.

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings