Defect #4701

Project tree structure is broken by deleting the project with the subproject

Added by Yoshitaka Konishi 7 months ago. Updated 7 months ago.

Status:Closed Start:2010-01-31
Priority:Normal Due date:
Assigned to:- % Done:

0%

Category:Projects
Target version:0.9.2
Affected version:0.9.1 Resolution:Fixed

Description

The project tree breaks by the following operating it.

1. Make the following project tree.
  • Project A
  • SubProject of A
  • Project B
  • SubProject of B

2. Delete Project A with the SubProject.

This problem was confirmed by version 0.9.1.


Related issues

duplicated by Defect #5099: When deleting a project with children, the database seems... Closed 2010-03-17

Associated revisions

Revision 3354
Added by Jean-Philippe Lang 7 months ago

Fixed: deleting a project with subprojects breaks the project tree (#4701).

History

Updated by Jean-Philippe Lang 7 months ago

  • Status changed from New to Resolved
  • Target version set to 0.9.2
  • Affected version set to 0.9.1
  • Resolution set to Fixed

Fixed in r3354.
Fixing your project tree can be done by running the following command from your Redmine directory:

ruby script/runner -e production 'Project.rebuild!'

Updated by Jean-Philippe Lang 7 months ago

  • Status changed from Resolved to Closed

Merged in r3381.

Also available in: Atom PDF