Forum OpenACS Development: Error in Acs Object Management Form Params

This commit introduced an interesting bug

http://cvs.openacs.org/browse/OpenACS/openacs-4/packages/acs-object-management/tcl/form-procs.xql?r=1.4

where if you have multiple forms for the same object type and object view it will pull ALL the parameter values for every form if you have the same element name/id on multiple forms for the same view.

Ryan, if you see this, any idea what this query is trying to do? I can't wrap my head around some of these subqueries.

Collapse
Posted by Dave Bauer on
Aha.

Its missing a where

and aovawp.object_view = :object_view

otherwise it pulls every parameter for the same atribute regardless of the object_view.

If I can remember my CVS login I'll commit :)

Collapse
Posted by Dave Bauer on
OK, my ssh key works so this fix is committed.
Collapse
Posted by Ryan Gallimore on
Thanks for fixing that, Dave.
Collapse
Posted by twan arkink on
Great work, you've helped me out a lot :)