プロジェクト

全般

プロフィール

Vote #81074

完了

Project settings tab contains two items with the same id

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Project settings_43
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
43
version_id:
152
issue_org_id:
34032
author_id:
454834
assigned_to_id:
332
comments:
8
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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

Admin Redmine さんが3年以上前に更新

  • カテゴリProject settings_43 にセット
  • 対象バージョン4.2.0_152 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0