__Affected feature__:
AQL query using web interface
__AQL query (if applicable)__: Please see Debug Package: https://yadi.sk/d/V11EhzApPN1QOA
__Problem__:
AQL: collection or array expected as operand to FOR loop; you provided a value of type 'none'
__Expected result__:
The same query works on the same collection using arangodb 3.5.3 and 3.4.7
__Notes__:
If I change the order of sub-queries (tuples and temps), than the whole query works.
@dvzubarev It would be awesome if you could also supply a small (anonymised) dataset, so we're able to reproduce your issue faster. Many thanks in advance!
I can reproduce the issue on this dataset: https://yadi.sk/d/WRuz9IdYFMvt_w
Thank you very much! We already had found a similar problem and double-checked with your query and dataset. That issue is already fixed in our repository and will be officially fixed in the upcoming 3.6.1 release.
If you're more interested in technical insights. The PR that solved your issue is:
https://github.com/arangodb/arangodb/pull/10889
Most helpful comment
I can reproduce the issue on this dataset: https://yadi.sk/d/WRuz9IdYFMvt_w