Forum OpenACS Development: Deleting Ticket Tracker Lite Instance

Collapse
Posted by Jun Yamog on
For anyone that needs to delete a ticket tracker lite instance do the one on top.  Then do this:

delete from acs_permissions
where object_id in (select package_id
                    from apm_packages
                    where package_key = 'ticket-tracker-lite' and package_id = :your_instance);

Its similar to the drop script but the package_id is there.  Its also advised to make use of acs_permission__revoke_permission db api.

After clearing out the permissions.  You can just call this db api.

apm_package__delete(:your_instance) or delete it by the admin site-map UI of unmounted instances.

Its the weird way ttl does permission that will not allow you to nuke by the admin UI.