Vote #81074
完了Project settings tab contains two items with the same id
0%
説明
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.
journals
Confirmed the issue.
!{width: 700px; border: 1px solid grey;}.project-tab-id.png!
!{width: 700px; border: 1px solid grey;}.issue-tracking-tab-id.png!
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------
Setting the target version to 4.1.2.
--------------------------------------------------------------------------------
Committed the patch. Thank you.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
related_issues
relates,Closed,34982,Cannot change the default version and default assignee under settings