Forum OpenACS Development: Re: The param package_id not defined in the fucntion content::template::new

Please provide ALL details if you insist of posting bug reports on the forums. Details include:

Version of OpenACS you are using.
A example of the code that was called.
A description of what you expected to happen.
A description of what actually happened including the relevant part of the error log.

On OpenACS 5.1 content::template::new does NOT accept a package_id parameter. This is because there is no package_id attribute for content repository items in this version of OpenACS. The first version of OpenACS that will support package_id for all objects in the acs_objects table is OpenACS 5.2 (current CVS HEAD).

Collapse
Posted by César Alexander Hernández Juarez on
I am working with oacs-5.1 and dotLRN with package evaluation.

My problem is the next:

In the acs-content-repository in postgres exist the funcion: function
content_revision__get_content() but in oracle don't exist.

Perhaps in Oracle one works different and it is not necessary to create
it.

for your help, thanks dave.

Collapse
Posted by Dave Bauer on
Can you explain what the actual problem is? What does this function do? And what should the equvilant oracle function do?

This might be tricky due to differences binary object handling in PG compared to oracle.