Hi!
Sorry for being a pain in the butt by posting strange bugs in very remote areas of the system. However, ]project-open[ actually uses this OpenACS functionality for defining "Helpdesk Queues" (a special type of groups), "Profiles" (the main ]po[ groups) or "Office Groups" (groups per physical locations in order to define absences).
To reproduce, I have started with a fresh OpenACS 5.9.0 install using Maurizio's Windows installer (I didn't test on Linux, but I'm sure it's the same...).
By default in /admin/group-types/ there are two group types: "Groups" (parent) and "Application Groups". I click on "Groups" -> "Add a group of this type", enter "Test" and get an error:
atabase operation "0or1row" failed (exception ERROR, "ERROR: -20001: composition_rel violation: Invalid object types. Object -2 (<NULL>) must be of type <NULL> Object <NULL> (<NULL>) must be of type <NULL>
CONTEXT: SQL statement "insert into acs_rels
(rel_id, rel_type, object_id_one, object_id_two)
values
(v_rel_id, new__rel_type, new__object_id_one, new__object_id_two)"
PL/pgSQL function acs_rel__new(integer,character varying,integer,integer,integer,integer,character varying) line 17 at SQL statement
PL/pgSQL function composition_rel__new(integer,character varying,integer,integer,integer,character varying) line 5 at assignment
")
I get the same error when trying to create a new "Application Groups".
In ]po[ I get another strange error: Trying to create any group I get a screen with the fields: "Group name", "Object ID One", "Object ID Two" and "Relationship Type". I guess the page gets confused with the metadata system, or the metadata may have changed in the last 10 years or so. However, I'll probably able to sort this out. Just curious to know if somebody else hit the same issue.
Cheers!
Frank