[Zope] nested <dtml-in ...> statements breaking

Donald Braman donald.braman@yale.edu
Thu, 6 Jun 2002 19:56:35 -0700


I have nested queries using dtml-in statements.

The outer query performs a broad query based on a number of variables and
returns a number of variables for several records.

The inner query performs a dtml-sqltest on one of the variables returned and
returns another set of variables. (Or at least it is supposed to.) The only
variable that two queries share is the variable on which the inner query
performs the dtml-sqltest.

The inner query gives me a key error, asking for a variable supplied by the
outer query.

Strangely, the inner query works when nested within a query that returns a
single record using the same dtml-sqltest as the inner query.

Any pointers on how to manage this?