Index: openacs-4/packages/xowiki/tcl/form-field-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/form-field-procs.tcl,v diff -u -r1.254 -r1.255 --- openacs-4/packages/xowiki/tcl/form-field-procs.tcl 21 Dec 2017 20:44:58 -0000 1.254 +++ openacs-4/packages/xowiki/tcl/form-field-procs.tcl 24 Dec 2017 12:51:38 -0000 1.255 @@ -301,7 +301,7 @@ if {[string match "::xotcl::*" $definition_class] || $method eq ""} { error [_ xowiki.error-form_constraint-unknown_attribute [list class [:info class] name ${:name} entry $attribute]] } - if {[catch { + ad_try { # # We want to allow a programmer to use e.g. options=[xowiki::locales] # @@ -313,7 +313,7 @@ set value [subst $value] } my $attribute $value - } errMsg]} { + } on error {errMsg} { error "Error during setting attribute '$attribute' to value '$value': $errMsg" } }