Forum OpenACS Development: pssql function content_item__move

Collapse
Posted by Iuri Sampaio on
I believe something is missing within the plsql function content_folder__move.

If a folder is created an item_id and parent_id are assigned to it.
Furthermore the folder is also registered on acs_objects with an object_id and context_id assigned to it.

Then we should have on table cr_items the pair (item_id,parent_id) which matches with the pair (object_id,context_id) on table acs_objects.

Moreover, within the plsql function content_folder__move (used to move subfolders from parent folders), we must have the chunk of code to update the acs_objects.context_id as well. Although this part of the code is missing.

Shouldn't the chunk to update the context_id be there?