Project

General

Profile

Actions

Feature #36691

closed

Background job and dedicated status for project deletion

Added by Jens Krämer about 2 years ago. Updated 6 months ago.

Status:
Closed
Priority:
Normal
Category:
Administration
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

Due to the deletion of dependent objects (issues etc) and child projects,
project deletion may take a long time.

This patch, which was extracted from [Planio](https://plan.io/redmine-hosting),
moves the actual project deletion into an ActiveJob job. It also introduces a
new project status (SCHEDULED_FOR_DELETION) that is used to effectively hide
the project that is about to be deleted (and any potential descendant projects)
from the system immediately.

A security notification is sent out to the user who deleted the project,
informing about success / failure.

The projects list is extended to be able to filter for the new status,
so in case of a failure, the project can still be accessed for
examination.


Files


Related issues

Related to Redmine - Patch #31076: Issues CSV / PDF export via ActiveJobNew

Actions
Related to Redmine - Feature #33422: Re-implement admin project list using ProjectQuery systemClosedMarius BĂLTEANU

Actions
Related to Redmine - Patch #37210: Make "Project" label translatable in app/views/projects/bulk_destroy.html.erbClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF