Forum OpenACS Development: error in array of elements

Collapse
Posted by Iuri Sampaio on
I got this error bellow when i was creating extra fields to a list, extra_info on AMS package.

It seems it could;t read the element checkbox (multiple choices) then the error was in the array of the API get elements. when it gets the widget from the new field created.

does anyone have a enlightened tip on how to fix that?

[19/Jul/2007:02:42:33][2953.2983607216][-conn:18-] Warning: blank-compat: /home/oacsbr/yabt/packages/ams/www/attribute-add.adp uses deprecated property title instead of doc(title).
[19/Jul/2007:02:42:33][2953.2983607216][-conn:18-] Warning: blank-compat: /home/oacsbr/yabt/packages/ams/www/attribute-add.adp uses deprecated property header_stuff instead of head.
[19/Jul/2007:02:42:33][2953.2983607216][-conn:18-] Error: POST http://192.168.1.10:8090/ams/attribute-add?
referred by "http://192.168.1.10:8090/ams/attribute-add?list%5fid=3541&object%5ftype=user&return%5furl%5flabel=Return+to+Where+you+where&return%5furl=";
can't read "elements(sec_fieldset)": no such element in array
while executing
"lang::util::localize $elements(sec_fieldset)"
("for" body line 6)
invoked from within
"for { set __d19_i 1 } { $__d19_i <= ${elements:rowcount} } { incr __d19_i } {
upvar 0 elements:$__d19_i elements

if {! ([template::util::is_ni..."
("uplevel" body line 9)
invoked from within
"uplevel {
set __adp_output ""


if {[info exists elements]} {
upvar 0 elements __d19_swap
}

for { set __d19_i 1 } { $__d19_i <= ${element..."
(procedure "template::code::adp::/home/oacsbr/yabt/packages/acs-templati..." line 2)
invoked from within
"template::code::adp::$file_stub"
(procedure "template" line 46)
invoked from within
"template $id $style"
(procedure "template::form::generate" line 2)
invoked from within
"template::form::generate attribute_form"
("eval" body line 1)
invoked from within
"eval template::form::$command $args"
(procedure "template::form" line 2)
invoked from within
"template::form generate attribute_form "
invoked from within
"append __adp_output "[template::form generate attribute_form ]""
("uplevel" body line 20)
invoked from within
"uplevel {
set __adp_output ""

set __adp_master [template::util::url_to_file "[ad_parameter -package_id [ad_conn subsite_id] DefaultMaster dummy "..."
(procedure "template::code::adp::/home/oacsbr/yabt/packages/ams/www/attr..." line 2)
invoked from within
"template::code::${template_extension}::$__adp_stub"
invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 5)
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..."

oacsbr@debianserver:~$