Record Deletion

By default it is not possible to delete records from any of the Issue Tracker tables. This is so that a knowledge base of previous history can be maintained in the component.

There is a component option that can be set to perform either a hard delete or a soft delete of records.

A hard delete will remove the record from the database.

  1. If a project is being deleted then not only will the project be deleted, but all the issues associated with the project will also be deleted. In addition if the project is defined as the ‘default project’ for any user, then this will be modified for those users.

  2. If the item being deleted is an issue then the issue will be deleted from the database.

  3. If a user is being hard deleted then all issues associated with the user will also be deleted along with the user.

    [Note]Note

    The Joomla registered entry is not affected.

A soft delete causes a re-assignment of associated record.

  1. A soft delete is really only relevant with user deletion, where all associated issues for that user will be change to refer to the specified default.

  2. For projects and issues a soft deleted is treated as a hard delete described above.

The deleted issue user is the user to whom all issues associated with ‘soft deleted’ users will be re-assigned.

[Note]Note

People records if deleted will only be removed from the it_people table. The users still remain within the main Joomla users table.

For all other Issue Tracker record types the component implements the standard Joomla mechanism for delete with the ability to change the ‘state’ of the record to ‘trashed’. Trashed items are visible if the state is set to ‘Trashed’ on the list displays. Trashed records can be deleted but still follow the ‘hard’ or ‘soft’ delete rules described above.

[Note]Note

In release 1.1.0 and above this was modified so that an item may be placed in the ‘trash’. The implementation of the feature permits items to be in a number of states (as with Joomla articles). To completely remove the items it is necessary to empty the ‘trash’, by displaying the items in the ‘trashed’ state and then by indicating which items are to be permanently removed.

Go To Top

Joomla! Debug Console

Session

Profile Information

Memory Usage

Database Queries