Forum OpenACS Q&A: Response to How to create a group?

Collapse
Posted by C. R. Oldham on

OK, now I'm really confused.

When I create a group, I'm creating an object that has "Party" as it's supertype, which in turn has acs_object as it's supertype. The automatically generated form shows all the attributes of the group, party, and acs_object because of the inheritance tree.

I can confirm this by executing the query that goes with the proc "package_create_attribute_list" (which is called in the course of constructing the form). I get this:

ATTR_TABLE_NAME	ATTR_COLUMN_NAME	ANCESTOR_TYPE
GROUPS	        GROUP_NAME	        group
PARTIES	        EMAIL	                party
PARTIES	        URL	                party
ACS_OBJECTS	OBJECT_TYPE	        acs_object
ACS_OBJECTS	CREATION_DATE	        acs_object
ACS_OBJECTS	CREATION_IP	        acs_object
ACS_OBJECTS	LAST_MODIFIED	        acs_object
ACS_OBJECTS	MODIFYING_IP	        acs_object
ACS_OBJECTS	CREATION_USER	        acs_object
ACS_OBJECTS	CONTEXT_ID	        acs_object

Ah! I think, this is why the form on the Oracle side doesn't match the one on the Pg side--the Pg query must be returning something different. But nope, that's not the case. They return the same stuff.

So I'm stumped trying to debug this.