Project

General

Profile

Actions

Defect #34032

closed

Project settings tab contains two items with the same id

Defect #34032: Project settings tab contains two items with the same id

Added by Ali Hamdan about 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Project settings
Target version:
Resolution:
Fixed
Affected version:

Description

In the project setting tabs the [DOM] have 2 elements with non-unique id #edit_project_1 which are in the _edit.html.erb and _issues.html.erb tab which both of them contains labelled_form_for @project.
In order to fix it i added

labelled_form_for @project ,:as => "project_issues_tracker" 

in the _issues tab.


Files


Related issues 1 (0 open — 1 closed)

Related to Redmine - Defect #34982: Cannot change the default version and default assignee under settingsClosedGo MAEDAActions

Updated by Go MAEDA over 5 years ago Actions #2

  • Tracker changed from Patch to Defect
  • Status changed from New to Confirmed

Updated by Go MAEDA over 5 years ago Actions #3

  • Category changed from Projects to Project settings

Updated by Marius BĂLTEANU over 5 years ago Actions #4

The change looks good, but I propose to use project_issue_tracking because the form handles settings related to Issue tracking module (attached a patch).

The tests pass: https://gitlab.com/redmine-org/redmine/-/pipelines/263093258

Updated by Go MAEDA over 5 years ago Actions #5

  • Target version changed from Candidate for next minor release to 4.1.2

Setting the target version to 4.1.2.

Updated by Go MAEDA over 5 years ago Actions #6

  • Subject changed from Project Settings Tabs contains 2 element same id to Project settings tab contains two items with the same id
  • Status changed from Confirmed to Resolved
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you.

Updated by Go MAEDA over 5 years ago Actions #7

  • Status changed from Resolved to Closed
  • Target version changed from 4.1.2 to 4.2.0

Updated by Marius BĂLTEANU over 5 years ago Actions #8

  • Related to Defect #34982: Cannot change the default version and default assignee under settings added
Actions

Also available in: PDF Atom