Forum OpenACS Q&A: Re: Guidance on groups ui

Collapse
8: Re: Guidance on groups ui (response to 1)
Posted by Dave Bauer on
I fixed this in all the places the regular expressions are used. There are several places the variables are regexped out besides parse-procs.tcl

Jeff Davis found these and fixed it on HEAD. I made the same changes on the oacs-5-1 branch.

The reason variable with a name of @a.b.c@ need to be parsed correctly is that form elements named as @a.b@ will automatically generate a varaible called @formerror.a.b@ and the form builder will not be able to find the value of the formerror variable without the change to the regular expression.

So if we change the regular expression in template::adp_array_variable_regexp another regexp in tag-init.tcl and tag-procs.tcl also needs to be changed. I made these changes on the oacs-5-1 branch.