OK, I have this problem with Oracle and a checkout from cvs.openacs.org from HEAD. Im using the function rel_types::new to make a new relations between two objects. Im calling the function rel_types::new with an after-install calback as follows:
# To associate one course to dotlrn class
rel_types::new -role_one d_catalog_role -role_two dotlrn_class_role dotlrn_catalog_class_rel \
"DotLRN Catalog Class" "DotLRN Catalog Class" dotlrn_catalog 0 1 dotlrn_class_instance 0 1
# To associate one course to dotrln community
rel_types::new -role_one d_catalog_role -role_two dotlrn_com_role dotlrn_catalog_dotcom_rel \
"DotLRN Catalog Community" "DotLRN Catalog Community" dotlrn_catalog 0 1 dotlrn_club 0 1
the message that I get is this one:
create or replace package dotlrn_catalog_class_rel as
--/** THIS IS AN AUTO GENERATED PACKAGE. miguel marin was the
-- user who created it
--
-- @creation-date 2005-02-15
--*/
function new (
REL_ID IN DOTLRN_CATALOG_CLASS_REL_EXT.REL_ID%TYPE DEFAULT NULL,
OBJECT_TYPE IN ACS_OBJECTS.OBJECT_TYPE%TYPE,
CREATION_DATE IN ACS_OBJECTS.CREATION_DATE%TYPE,
CREATION_IP IN ACS_OBJECTS.CREATION_IP%TYPE,
LAST_MODIFIED IN ACS_OBJECTS.LAST_MODIFIED%TYPE,
MODIFYING_IP IN ACS_OBJECTS.MODIFYING_IP%TYPE,
CREATION_USER IN ACS_OBJECTS.CREATION_USER%TYPE DEFAULT NULL,
CONTEXT_ID IN ACS_OBJECTS.CONTEXT_ID%TYPE DEFAULT NULL,
PACKAGE_ID IN ACS_OBJECTS.PACKAGE_ID%TYPE DEFAULT NULL,
TITLE IN ACS_OBJECTS.TITLE%TYPE DEFAULT NULL,
CONTEXT_ID IN ACS_OBJECTS.CONTEXT_ID%TYPE DEFAULT NULL,
CREATION_IP IN ACS_OBJECTS.CREATION_IP%TYPE DEFAULT NULL,
CREATION_USER IN ACS_OBJECTS.CREATION_USER%TYPE DEFAULT NULL,
OBJECT_ID_ONE IN ACS_RELS.OBJECT_ID_ONE%TYPE DEFAULT NULL,
OBJECT_ID_TWO IN ACS_RELS.OBJECT_ID_TWO%TYPE DEFAULT NULL,
REL_TYPE IN ACS_RELS.REL_TYPE%TYPE DEFAULT 'dotlrn_catalog_class_rel'
) return dotlrn_catalog_class_rel_ext.rel_id%TYPE;
procedure del (
rel_id in dotlrn_catalog_class_rel_ext.rel_id%TYPE
);
END dotlrn_catalog_class_rel;
if you notice the problem is that there are duplicate names on the parameters of the package.