Closed 8e8b2c closed 2 months ago
With the missing $ticket_number
removed, the program execution fails with jq execution error: cannot index [\"06f05b59d3b20000\",\"03782dace9d90000\",\"0214e8348c4f0000\",\"016345785d8a0000\"] with null
, which seems correct, as the agent's external ID isn't present.
Creation of this jq program should have been prevented because it doesn't compile.
Fix included in https://github.com/holochain-open-dev/holoom/pull/57
Given the following recipe:
with invalid jq program:
(Note that the final array contains the var
$ticket_number
that hasn't been declared.) The output of this recipe when executed by an agent (whose external id wasn't present in the match data) was the full input to the program. I.e.