Index: openacs-4/packages/acs-subsite/tcl/relation-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-subsite/tcl/relation-procs.tcl,v diff -u -r1.8 -r1.9 --- openacs-4/packages/acs-subsite/tcl/relation-procs.tcl 30 Sep 2003 12:10:03 -0000 1.8 +++ openacs-4/packages/acs-subsite/tcl/relation-procs.tcl 11 Dec 2003 21:39:55 -0000 1.9 @@ -93,13 +93,17 @@ # Check to see if constraints are violated because of this new # relation - set violated_err_msg [db_string select_rel_violation { - select rel_constraint.violation(:rel_id) from dual - } -default ""] - if { ![empty_string_p $violated_err_msg] } { - error $violated_err_msg - } + # JCD: this is enforced by trigger so no longer check explicitly + # see membership_rels_in_tr + # + # set violated_err_msg [db_string select_rel_violation { + # select rel_constraint.violation(:rel_id) from dual + # } -default ""] + # + # if { ![empty_string_p $violated_err_msg] } { + # error $violated_err_msg + # } } on_error { return -code error $errmsg }