Index: openacs-4/packages/assessment/tcl/as-item-type-oq-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-item-type-oq-procs.tcl,v diff -u -r1.22 -r1.22.2.1 --- openacs-4/packages/assessment/tcl/as-item-type-oq-procs.tcl 7 Aug 2017 23:48:03 -0000 1.22 +++ openacs-4/packages/assessment/tcl/as-item-type-oq-procs.tcl 13 Sep 2022 13:03:05 -0000 1.22.2.1 @@ -41,7 +41,7 @@ -as_item_type_id:required {-title ""} {-default_value ""} - {-feedback_text ""} + {-feedback_text ""} {-reference_answer ""} {-keywords ""} } { @@ -196,8 +196,8 @@ {-keywords ""} {-default_value ""} } { - Add the open question (long answer/essay) item to an assessment. - This creates the as_item_type_oq object and + Add the open question (long answer/essay) item to an assessment. + This creates the as_item_type_oq object and associates the as_item_id with an assessment, or updates the assessment with the latest version @@ -218,7 +218,7 @@ -feedback_text $feedback_text \ -reference_answer $reference_answer \ -keywords $keywords] - + if {![info exists item_type_info(object_type)]} { # first item type mapped as::item_rels::new -item_rev_id $as_item_id -target_rev_id $as_item_type_id -type as_item_type_rel @@ -237,7 +237,7 @@ -feedback_text $feedback_text \ -reference_answer $reference_answer \ -keywords $keywords] - + as::item::update_item_type -item_type_id $as_item_type_id -as_item_id $as_item_id } as::item_display_ta::set_item_display_type \ Index: openacs-4/packages/assessment/tcl/as-item-type-swcat-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-item-type-swcat-procs.tcl,v diff -u -r1.6 -r1.6.2.1 --- openacs-4/packages/assessment/tcl/as-item-type-swcat-procs.tcl 7 Aug 2017 23:48:03 -0000 1.6 +++ openacs-4/packages/assessment/tcl/as-item-type-swcat-procs.tcl 13 Sep 2022 13:08:26 -0000 1.6.2.1 @@ -1,9 +1,7 @@ -# - ad_library { - + Procedures for sitewide category item type - + @author Dave Bauer (dave@solutiongrove.com) @creation-date 2005-05-15 @arch-tag: ba556f8e-d5bf-4455-bb19-06be198014d8