query macro misbehaving
Hi
In my design it is necessary to requery the server programatically in an onleave event. So I code:
ctrl.getBlock().startQuery()
followed by some criteria-setting code that I know works because it runs ok when precalled as a once-only branch in the persistent object of the prequery event.
The problem is that, when the startQuery() macro is called as above, it never returns to my script. Firstly, I have observed it to invoke the pre-insert event, which may be intentional and which I can probably work around if necessary. Secondly, however, it seems to then make a callback to the onleave event (from which it is called). Wallah -- endless loop.
When the startQuery() tool is clicked manually, this behaviour is not evident.
I wonder is it possible to learn the chain of events that will be called by startQuery()?
This is Rekall-2.4.3 on KDE (Fedora Core 4)
Xstack