Index: openacs-4/packages/xowf/tcl/xowf-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/tcl/xowf-procs.tcl,v diff -u -r1.18 -r1.19 --- openacs-4/packages/xowf/tcl/xowf-procs.tcl 25 Apr 2018 08:51:36 -0000 1.18 +++ openacs-4/packages/xowf/tcl/xowf-procs.tcl 25 Apr 2018 19:47:48 -0000 1.19 @@ -271,15 +271,15 @@ } Context instproc get_actions {} { - set actions [list] + set actions {} foreach action [${:current_state} get_actions] { lappend actions ${:wf_container}::$action } #:msg "for ${:current_state} actions '$actions" return $actions } Context instproc defined {what} { - set result [list] + set result {} foreach c [${:wf_container} info children] { if {[$c istype $what]} {lappend result $c} } @@ -907,7 +907,7 @@ } } WorkflowConstruct instproc get_value_set {values} { - set result [list] + set result {} foreach {cond value} [:get_cond_values $values] { foreach v $value {lappend result $v} } @@ -1413,7 +1413,7 @@ set tokens [mime::initialize -canonical "multipart/mixed" -parts $tokens] } - set headers_list [list] + set headers_list {} lappend headers_list \ [list From $from_info(email)] \ [list To $to_info(email)] \ @@ -1521,7 +1521,7 @@ Compute solution set in form of attribute=value pairs based on "answer" attribute of form fields. } { - set solutions [list] + set solutions {} foreach f [:instantiated_form_fields] { if {![$f exists answer]} continue lappend solutions [$f name]=[$f answer] @@ -1796,7 +1796,7 @@ if {[info exists $key]} {append $key ",$value"} else {set $key $value} } } - set result [list] + set result {} foreach {att value} [array get __c1] {lappend result $att:$value} return $result } @@ -1872,7 +1872,7 @@ set wf [self] set wf_base [$wf pretty_link] - set button_objs [list] + set button_objs {} # create new workflow instance button with start form #if {[:parent_id] != [$package_id folder_id]} { @@ -1909,7 +1909,7 @@ set entry_form_item_id [:wf_property wf_form_id] set work_flow_form [::xo::db::CrClass get_instance_from_db -item_id $form_item_id] set work_flow_base [$work_flow_form pretty_link] - set button_objs [list] + set button_objs {} #:msg entry_form_item_id=$entry_form_item_id-exists?=[:isobject $entry_form_item_id]