プロジェクト

全般

プロフィール

Vote #72288

完了

Confirmation page has broken HTML when a project folding sub project is deleted

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

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

0%

予定工数:
category_id:
11
version_id:
54
issue_org_id:
11511
author_id:
60349
assigned_to_id:
0
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

I created a new project in Redmine (In "Home" page, I clicked [Administration], next [Projects], third [New Project]. I filled the necessary fields in "New project" page and clicked [Create] button finally).
This new project is "PARENT-PROJECT".
I also created a new sub project of "PARENT-PROJECT", named "SUB-PROJECT".
When I created "SUB-PROJECT", I selected "PARENT-PROJECT" in "Subproject of" drop-down list.
So I will delete the "PARENT-PROJECT" (In "Home" page, I clicked [Administration], next [Projects], finally [Delete] on right side of "PARENT-PROJECT" column),
but "Confirmation" page has broken HTML.

PARENT-PROJECT
Are you sure you want to delete this project and related data?
Its subproject(s): <strong>SUB-PROJECT</strong> will be also deleted.

Open tag and close tag are escaped around "SUB-PROJECT".

For example:

Before:
PARENT-PROJECT
Are you sure you want to delete this project and related data?
Its subproject(s): SUB-PROJECT will be also deleted.

After:
PARENT-PROJECT
Are you sure you want to delete this project and related data?
Its subproject(s): SUB-PROJECT will be also deleted.

The strong tags put stronger emphasis on "SUB-PROJECT" string. This case, "Confirmation" page has broken HTML.
I use ruby 1.9.3 and Rails 3.2.6.


journals

I attach a path for this issue.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Committed in trunk r10083 and 2.0-stable r10084, thanks.
--------------------------------------------------------------------------------

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

  • カテゴリProjects_11 にセット
  • 対象バージョン2.0.4_54 にセット

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

いいね!0
いいね!0