Index: openacs-4/packages/simulation/www/simbuild/template-edit.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/simulation/www/simbuild/template-edit.tcl,v diff -u -r1.22 -r1.23 --- openacs-4/packages/simulation/www/simbuild/template-edit.tcl 29 Jan 2004 14:36:39 -0000 1.22 +++ openacs-4/packages/simulation/www/simbuild/template-edit.tcl 30 Nov 2004 21:09:16 -0000 1.23 @@ -111,6 +111,12 @@ break } + if { [string match $template_ready_p "t"] && ![simulation::template::check_init_p -workflow_id $workflow_id] } { + form set_error sim_template template_ready_p "This template or one of its subworkflows or parallel tasks is missing an initial action. You can't mark a template ready for use until you have added all required initial actions." + break + + } + set description_mime_type [template::util::richtext::get_property format $description] set description [template::util::richtext::get_property contents $description] } -new_data {