Project

General

Profile

Actions

Patch #24692

closed

Issue destroy : Reassign time issue autocomplete

Patch #24692: Issue destroy : Reassign time issue autocomplete

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

Status:
Closed
Priority:
Normal
Category:
Issues
Target version:

Description

When deleting an issue, you get a form to propose you where to reassign the time entries. This patch provides an autocomplete instead of entering the raw issue ID.

Patch tested and fully working for Redmine 3.3.1-devel


Files

Updated by Anonymous almost 10 years ago Actions #1

  • Status changed from New to Resolved

Updated by Anonymous almost 10 years ago Actions #2

Sorry bad title, supposed to be : "Issue destroy : Reassign time issue autocomplete"

Updated by Go MAEDA almost 10 years ago Actions #3

  • Subject changed from Issue destroy : Also reassign descendants spent hours to Issue destroy : Reassign time issue autocomplete
  • Status changed from Resolved to New

Updated by Go MAEDA almost 10 years ago Actions #4

  • Status changed from New to Needs feedback

Thank you for submitting the patch.

Reassigning destination issue must be an issue within the same project (please see the code in IssuesController#destroy: source:trunk/app/controllers/issues_controller.rb@15923#L354 ). Therefore the auto completing should not suggest issues in other project.

I am not sure, but I think the key-value pair :scope => Setting.cross_project_subtasks in the arguments of escape_javascript auto_complete_issues_path should be removed.

Updated by Go MAEDA almost 10 years ago Actions #5

Go MAEDA wrote:

Reassigning destination issue must be an issue within the same project (please see the code in IssuesController#destroy: source:trunk/app/controllers/issues_controller.rb@15923#L354 ). Therefore the auto completing should not suggest issues in other project.

Fixed. Updated the patch.

Updated by Go MAEDA almost 10 years ago Actions #6

  • Target version changed from Candidate for next major release to 3.4.0

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

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang

Committed with slight changes. I removed the wrapping span, let me know if it was of any use.

Actions

Also available in: PDF Atom