プロジェクト

全般

プロフィール

Defect #1218

完了

Changing tracker causes disappearing of template selection

Maik Lindner さんが約11年前に追加. ほぼ11年前に更新.

ステータス:
終了(Closed)
優先度:
高め(High)
担当者:
対象バージョン:
開始日:
2013/03/26
期日:
進捗率:

100%

予定工数:

説明

To reproduce
  1. create a default issue template for multiple trackers, including the default tracker
  2. create a new issue
    • this will use the default tracker, and will load the default template for that tracker
  3. change the tracker to another tracker with a default template defined
    • this will keep the old tracker's template and the template selection disappears

Expected behavior
  1. create a new issue
    • this will use the default tracker, and will load the default template for that tracker
  2. change the tracker to another tracker with a default template defined
    • the default issue template for the new tracker replaces the template data from the previous tracker and the template selection does not disappear.

Redmine: 2.3.0.stable.11670


関連するチケット 1 (0件未完了1件完了)

関連している Issue Template - Defect #1254: In case default template defined, template loaded and append text when editing issue. 終了(Closed)Akiko Takano2013/07/19

操作

Maik Lindner さんが約11年前に更新

(sorry for bad formatting, I forgot the line breaks)

NAITOH Jun さんが約11年前に更新

This issue can reproduce on this web site.

I think that this issue was caused by r11405.

http://www.redmine.org/projects/redmine/repository/revisions/11405

NAITOH Jun さんが約11年前に更新

I wrote patch.

--- lib/issue_templates_issues_hook.rb_org    2013-03-28 08:07:04.799238176 +0900
+++ lib/issue_templates_issues_hook.rb    2013-03-28 08:07:22.577201332 +0900
@@ -18,7 +18,7 @@
     action = context[:request].parameters[:action]
     project_id = context[:request].parameters[:project_id]

-    return '' unless action == 'new' && !project_id.blank?    
+    return '' unless (action == 'new' or action == 'update_form') && !project_id.blank?    
     context[:controller].send(
       :render_to_string,
       {

Maik Lindner さんが約11年前に更新

Patch works fine - Thank you!

Akiko Takano さんがほぼ11年前に更新

  • ステータス新規(New) から 担当(Assigned) に変更
  • 担当者Akiko Takano にセット
  • 優先度通常(Normal) から 高め(High) に変更
  • 対象バージョンFuture Release にセット

Hi, Maik!
Thank you so much for your report and sorry for my delayed reply....
The same defect was reported at https://bitbucket.org/akiko_pusu/redmine_issue_templates/issue/26.

And, Naitoh-San, I really appreciate your help :)

Akiko Takano さんがほぼ11年前に更新

  • 対象バージョンFuture Release から ver0.0.6 に変更

Akiko Takano さんがほぼ11年前に更新

  • ステータス担当(Assigned) から 終了(Closed) に変更
  • 進捗率0 から 100 に変更

Close issue. (Related: #1151)

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