Forum OpenACS Q&A: Response to Nested multiple tags

Collapse
Posted by C. R. Oldham on

Greetings,

This patch appears to break the group creation forms, and might break the auto-generated templating system forms in general. Here is the traceback from the request processor:

can't read "__i": no such variable
    while executing
"if { $__i == ${elements:rowcount} } {
        break
      }"
    ("for" body line 95)
    invoked from within
"for { set __t20_i 1 } { $__t20_i <= ${elements:rowcount}  } { incr __t20_i } {
    upvar 0 elements:$__t20_i elements
  
if {! ([template::util::is_ni..."
    ("uplevel" body line 22)
    invoked from within
"uplevel {
    	  set __adp_output ""
append __adp_output "

<..."
    (procedure "template::code::adp::/home/cro/wd/ncacasi/packages/acs-templ..." line 2)
    invoked from within
"template::code::adp::$file_stub"
    (procedure "template" line 32)
    invoked from within
"template $id $style"
    (procedure "template::form::generate" line 3)
    invoked from within
"template::form::generate add_group"
    ("eval" body line 1)
    invoked from within
"eval template::form::$command $args"
    (procedure "template::form" line 3)
    invoked from within
"template::form generate add_group "
    invoked from within
"append __adp_output "[template::form generate add_group ]""
    ("uplevel" body line 20)
    invoked from within
"uplevel {
    	  set __adp_output ""

    set __adp_master [template::util::url_to_file "../master" "$__adp_stub"]
set __adp_properties(context_bar) "..."
    (procedure "template::code::adp::/home/cro/wd/ncacasi/packages/acs-subsi..." line 2)
    invoked from within
"template::code::${template_extension}::$__adp_stub"
    (procedure "template::adp_parse" line 57)
    invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
    (procedure "adp_parse_ad_conn_file" line 7)
    invoked from within
"$handler"
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
	$handler
      } ad_script_abort val {
	# do nothing
      }"
    invoked from within
"rp_serve_concrete_file [ad_conn file]"
    (procedure "rp_serve_abstract_file" line 60)
    invoked from within
"rp_serve_abstract_file "$root/$path""
    ("uplevel" body line 2)
    invoked from within
"uplevel $code"
    invoked from within
"ad_try {
	rp_serve_abstract_file "$root/$path"
	set tcl_url2file([ad_conn url]) [ad_conn file]
	set tcl_url2path_info([ad_conn url]) [ad_conn path_inf..."