Index: openacs-4/packages/dynamic-types/sql/postgresql/forms-create.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dynamic-types/sql/postgresql/forms-create.sql,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/dynamic-types/sql/postgresql/forms-create.sql	15 Feb 2005 13:55:34 -0000	1.2
+++ openacs-4/packages/dynamic-types/sql/postgresql/forms-create.sql	24 Feb 2005 14:21:50 -0000	1.3
@@ -442,7 +442,9 @@
        and object_type = p_object_type;
 
     if NOT FOUND then
-        raise EXCEPTION ''-20000: Attribute %: % does not exist in dtype_widget.register_form_widget'', p_object_type, p_attribute_name;
+        if p_object_type <> ''acs_object'' and p_attribute_name <> ''object_id'' then
+            raise EXCEPTION ''-20000: Attribute %: % does not exist in dtype_widget.register_form_widget'', p_object_type, p_attribute_name;
+        end if;
     end if;
 
     -- Look for the form
