Project

General

Profile

Actions

Defect #24693

closed

Spent time on subtasks should also be reassigned when deleting an issue

Defect #24693: Spent time on subtasks should also be reassigned when deleting an issue

Added by Anonymous almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Issues
Target version:
Resolution:
Fixed
Affected version:

Description

When you delete an issue, its spent hours will be reassigned to selected issue, but the time spent on descendants was just simply deleted. Now it is also reassigned to the targeted issue.

Patch tested and fully working for Redmine 3.3.1-devel

Pull request on GitHub : https://github.com/redmine/redmine/pull/92


Files


Related issues 1 (0 open — 1 closed)

Related to Redmine - Defect #24718: Prevent from reassigning spent time to an issue that is going to be deletedClosedJean-Philippe LangActions

Updated by Go MAEDA almost 10 years ago Actions #1

  • Status changed from Resolved to New

Updated by Go MAEDA almost 10 years ago Actions #2

Confirmed the problem.
This patch works as expected. The remaining work is to add tests.

Total spent time is 11.00 hours:

Without the patch:

With the patch:

Updated by Anonymous almost 10 years ago Actions #3

Thanks for your response !

I will the send patch that will include the tests during this week.

Have a great day !

Updated by Go MAEDA almost 10 years ago Actions #4

  • Related to Defect #24718: Prevent from reassigning spent time to an issue that is going to be deleted added

Updated by Jean-Philippe Lang almost 10 years ago Actions #5

  • Tracker changed from Patch to Defect
  • Subject changed from Issue destroy : Also reassign descendants spent hours to Spent time on subtasks should also be reassigned when deleting an issue
  • Status changed from New to Resolved
  • Assignee set to Jean-Philippe Lang
  • Target version changed from Candidate for next minor release to 3.2.5
  • Resolution set to Fixed

The fix is included in r16118, thanks.

Updated by Jean-Philippe Lang almost 10 years ago Actions #6

  • Status changed from Resolved to Closed

Updated by Anonymous over 9 years ago Actions #7

Actions

Also available in: PDF Atom