Forum OpenACS Development: Re: Problem with content_item__new() after TIP #42 ...

Collapse
Posted by Ola Hansson on
I have committed a few changes to Workflow which will allow case objects to be plain acs objects.

I can't test the upgrade script on oracle so if someone wants to at least visually inspect it that would be nice.

I figured that workflow_case_log_entry__new() needed to be augmented with the package_id param since by fetching that id inside the function by a call to acs_object__package_id() 'null' would be returned (and the above error would reoccur) if the app at hand stored the package_id in a table of its own as opposed to in acs_objects ...

Should package owners be suggested to move 'package_id' to acs_objects and provide upgrade scripts that will move the existing entries from the package-specific tables?