Forum OpenACS Development: head-bug in acs-kernel

Collapse
Posted by Timo Hentschel on
When trying to make use of the dynamic-types package I stumbled upon the following error:

In acs-kernel/sql/---dbname---/acs-objects-create.sql the acs-attributes "title" and "package_id" are registered, but those columns in the acs_objects table got renamed to "object_title" and "object_package_id", so the appropriate registered attributes have to renamed, too.

Collapse
2: Re: head-bug in acs-kernel (response to 1)
Posted by Malte Sussdorff on
Could someone please verify that it is okay to change the acs-attributes so we can commit this? I assume it does not warrant a TIP as the acs_objects table alread got renamed.
Collapse
3: Re: head-bug in acs-kernel (response to 1)
Posted by Jeff Davis on
the attributes are still called title and package_id, they are just renamed in the CR views so no do not commit that change. The problem is that the CR also has title and some content types have package_id so creation of those views would fail since the attribute names clash.

the right fix is to move the CR title and package_id attrs to use the ones in acs_objects.