Forum OpenACS Development: Response to Query Extractor and Query Dispatcher

Collapse
Posted by Kapil Thangavelu on
Dan, looking over your example i'm not sure how much the QE can help
here. As you suggested i think flagging is probably the best way to
go. Currently their will be messages to the logs, but i can alter
the QE to generate a flag in the xql file as well. Queries with tcl
vars are written out with the fullquery syntax and a corresponding
message in the log (warning) about a Partial Dynamic Query. i'm not
sure what the difference is between what you just posted and a
partial query syntax though, i need to look at the source a little
more.

Gilbert, the QE was developed against the acs-packages repository
from the aD cvs, which contained most of the packages that currently
make up the openacs. the ecommerce package though was not from aD,
and due to different coding conventions and because its a
translation from a 3x module are likely to cause the QE some
problems, due to the fact that its mainly a regex parser which has
been tuned for source conventions in the aD package cvs. i'm going
to run the extractor against the openacs-4 ecommerce cvs, and try to
fix things, so they'll work better for you.

for tcl library files, the extracted query name should consist of
proc_name.query_name.

i'm very busy at the moment, so while i'm going to try and do this
asap, it very well might not get done till i get back from the
oreilly conference next friday.