Patch #22345

Trackers that have parent_issue_id in their disabled_core_fields should not be selectable for new child issues

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

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Issues
Target version:3.3.0

Description

When the user views an issue and clicks the link to add a new child issue, and the project has some trackers where the parent_issue_id field is disabled, the resulting new issue form for the child issue still presented those trackers for the user to choose from.

In case the tracker of the parent issue has parent_issue_id disabled itself, a new child issue would even have that tracker pre-selected through the tracker_id URL param, which is also fixed by the patch.

Patch extracted from Planio

0001-Do-not-propose-trackers-which-disallow-parent_issue_.patch Magnifier (2.98 KB) Jens Krämer, 2016-03-30 08:11

screenshot-without-the-patch.png (39.8 KB) Go MAEDA, 2016-03-30 16:32


Related issues

Related to Redmine - Defect #16260: Add Subtask does not work correctly from tasks with Paren... Closed
Related to Redmine - Defect #27895: Trackers with "Parent task" field set to "Read-only" shou... New

Associated revisions

Revision 15359
Added by Jean-Philippe Lang about 2 years ago

Do not propose trackers which disallow parent_issue_id for new child issues (#22345).

also removes the tracker_id from the "Add new child issue" link in case it
doesn't allow parent_issue_id

Patch by Jens Kraemer.

Revision 15360
Added by Jean-Philippe Lang about 2 years ago

Adds a method for tracker selection (#22345).

History

#1 Updated by Go MAEDA about 2 years ago

Confirmed.
Setting target version to 3.3.0. Thanks for the patch.

#2 Updated by Jean-Philippe Lang about 2 years ago

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

Committed, thanks.

#3 Updated by Go MAEDA over 1 year ago

  • Related to Defect #16260: Add Subtask does not work correctly from tasks with Parent Task field disabled added

#4 Updated by Go MAEDA 6 months ago

  • Related to Defect #27895: Trackers with "Parent task" field set to "Read-only" should not be shown when adding a new subtask added

Also available in: Atom PDF