Project

General

Profile

Actions

Defect #38286

closed

"Cannot delete enumeration" error may occur when attempting to delete a project with time entries

Added by naoki takaesu about 1 year ago. Updated about 1 year ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Steps to reproduce

  1. Create Project
  2. Settings > Time tracking
    1. uncheck item -> save
    2. check item -> save (System Activity was unchecked)
  3. Click "Spent time" tab
    1. create new log time. (select activity on above item)
  4. Settings > Time tracking
    1. uncheck item -> save
  5. Delete project

It is displayed 500 internal server error.
(raise "Cannot delete enumeration")


Related issues

Related to Redmine - Patch #36416: Cleanup more dependent objects on project deleteClosedMarius BÄ‚LTEANU

Actions
Has duplicate Redmine - Patch #38645: RuntimeError when calling Project#destroy with overridden activity time entryClosed

Actions
Actions

Also available in: Atom PDF