The error message says "Query was not a DML or DDL command." which means, that
- you are using the postgres updates from openacs 5.3 to handle the deadlock problems (using stored procedures such as "xowiki_object_f" instead of the old postgres rewrite rules),
- but you are using the core of 5.2, in which case xotcl-core uses the db_dml operation. Correct?
As long you have this configuration, look into xotcl-core/tcl/generic-procs and search for the insert_view_operation. uncomment the following line:
#CrItem set insert_view_operation db_0or1row
This command will set the db-operation to the given value, no matter what your acs-core says.
Hope this helps!