Forum OpenACS Development: Error in error message in template::adp_compile

Request notifications

Hi!

template::adp_compile contains an error message that apparently doesn't match changed arguments anymore and produced a hard error in our version (not sure which exactly...):

Original:
ns_log warning "ambiguous '$match'; write Tcl escapes with a space like
< % set x 50 % > and HTML tags with proper quoting, like < hr width="50%" >
when compiling ADP source: template::adp_compile $source_type {$source}"

Corrected:
[...]
when compiling ADP source: template::adp_compile -file $file - string $string"

Cheers
Frank

Collapse
Posted by Gustaf Neumann on
Hi Frank,

yes, the warning message was incorrect and used undefined variables. This is fixed [1] now in the oacs-5-10 branch.

many thanks
-gn
[1] http://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Agustafn%3A20191128121927