Forum OpenACS Development: Re: Missing package_ids in acs_objects: get via context_id ?

If they are content items you can also check up the content item hierarchy for a package_id. Ie: check parent_id, until you get to the root. You can also check if the parent_id is a folder and if cr_folders.package_id is set.