Index: openacs-4/packages/assessment/tcl/as-item-choice-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/assessment/tcl/as-item-choice-procs.tcl,v diff -u -r1.7 -r1.8 --- openacs-4/packages/assessment/tcl/as-item-choice-procs.tcl 19 Jan 2005 16:49:14 -0000 1.7 +++ openacs-4/packages/assessment/tcl/as-item-choice-procs.tcl 12 Jun 2006 02:49:50 -0000 1.8 @@ -31,7 +31,7 @@ # Insert as_item_choice in the CR (and as_item_choices table) getting the revision_id (as_item_choice_id) db_transaction { - set item_choice_id [content::item::new -parent_id $folder_id -content_type {as_item_choices} -name [exec uuidgen]] + set item_choice_id [content::item::new -parent_id $folder_id -content_type {as_item_choices} -name [as::item::generate_unique_name]] set as_item_choice_id [content::revision::new \ -item_id $item_choice_id \ -content_type {as_item_choices} \ @@ -84,7 +84,8 @@ [list percent_score $percent_score] \ [list fixed_position $fixed_position] ] ] } - + + return $as_item_choice_id }