Project

General

Profile

Actions

Defect #1409

closed

Issue Template can not be loaded when I changed tracker

Added by Steven Wong over 8 years ago. Updated over 8 years ago.

Status:
終了(Closed)
Priority:
通常(Normal)
Assignee:
Target version:
Start date:
05/04/2016
Due date:
% Done:

100%

Estimated time:

Description

Hi, I have a problem that I cannot load the issue template that I have defined. I take the log as follow, it seems that I have defined some customize field let the it break, could you help me to check it? Thanks.

My redmine environment is 3.2.1 with rails 4.2 and ruby 2.2
the logs as follow when I changed the tracker

Started POST "/projects/zmmy/issues/new.js" for 192.168.60.239 at 2016-05-04 21:34:40 +0800
Processing by IssuesController#new as JS
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"33aSXecWDm8TnvLk7oo6mjYbOELsCyOWRlcGlBzrreXQIbuB5/H1t3h7tar3szqgBD4oqgd9gQxjnv/7wwxUhA==", "form_update_triggered_by"=>"issue_tracker_id", "issue"=>{"is_private"=>"0", "tracker_id"=>"2", "subject"=>"", "description"=>"", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"", "fixed_version_id"=>"", "parent_issue_id"=>"", "start_date"=>"2016-05-04", "due_date"=>"", "estimated_hours"=>"", "custom_field_values"=>{"1"=>"", "4"=>"未解决", "6"=>"Win7_X64", "7"=>"IE11", "9"=>"重要", "10"=>"", "11"=>[""]}, "tag_list"=>""}, "issue_template"=>"", "was_default_status"=>"1", "new_checklist"=>"", "bw-search"=>"", "project_id"=>"zmmy"}
  Current user: hui.wang (id=8)
  Rendered plugins/redmine_issue_templates/app/views/issue_templates/_issue_select_form.html.erb (4.3ms)
  Rendered issues/_form_custom_fields.html.erb (4.3ms)
  Rendered issues/_attributes.html.erb (33.3ms)
  Rendered plugins/redmine_assign_grouping/app/views/hooks/_assign_grouping.html.erb (1.0ms)
  Rendered plugins/redmine_didyoumean/app/views/issues/_didyoumean_injected.html.erb (3.4ms)
  Rendered plugins/redmine_issue_checklist/app/views/issues/_checklist_form.html.erb (1.1ms)
  Rendered plugins/redmine_workflow_enhancements/app/views/workflow_enhancements/_issue_popup.html.erb (0.4ms)
  Rendered plugins/redmine_tags/app/views/issues/_tags_form.html.erb (2.7ms)
  Rendered issues/_form.html.erb (199.7ms)
  Rendered attachments/_form.html.erb (3.0ms)
  Rendered plugins/redmine_boards_watchers/app/views/boards_watchers/_watchers_list.html.erb (35.6ms)
  Rendered plugins/redmine_boards_watchers/app/views/issues/new.html.erb (243.5ms)
Completed 200 OK in 295ms (Views: 207.2ms | ActiveRecord: 44.6ms)
Actions #1

Updated by Steven Wong over 8 years ago

  • Description updated (diff)
Actions #2

Updated by Steven Wong over 8 years ago

  • Subject changed from Issue Template can not be loaded to Issue Template can not be loaded when I changed tracker
Actions #3

Updated by Akiko Takano over 8 years ago

  • Status changed from 新規(New) to 担当(Assigned)
  • Target version set to version0.1.1

Hi, Steven.
Thank you so much for your using my plugin.

I've just replied at https://bitbucket.org/akiko_pusu/redmine_issue_templates/issues/77.
As I wrote above issue, I think some plugin conflicts with mine.

From your production log, it seems you use redmine_boards_watchers plugin and this plugin overwrite Redmine's issue/new.html with redmine_boards_watchers's one.
Let me confirm do you use this plugin?

If you could, please try to disable redmine_boards_watchers temporarily and let me know the results?

Actions #4

Updated by Steven Wong over 8 years ago

Akiko Takano さんは書きました:

Hi, Steven.
Thank you so much for your using my plugin.

I've just replied at https://bitbucket.org/akiko_pusu/redmine_issue_templates/issues/77.
As I wrote above issue, I think some plugin conflicts with mine.

From your production log, it seems you use redmine_boards_watchers plugin and this plugin overwrite Redmine's issue/new.html with redmine_boards_watchers's one.
Let me confirm do you use this plugin?

If you could, please try to disable redmine_boards_watchers temporarily and let me know the results?

OK. I installed redmine_boards_watchers. After I removed it, issue_template can be used again. Thanks so much.

Actions #5

Updated by Akiko Takano over 8 years ago

  • Status changed from 担当(Assigned) to 解決(Resolved)

Steven,
Your information and excerpt from production.log are quite useful to search for the cause :)
Thank you always for your support.

Now I’m interested in redmine_boards_watchers, So I also try to find any workaround.

Actions #6

Updated by Filipe Hoffmeister over 8 years ago

Hi Akiko.

I have the same problem but I don't have the redmine_boards_watchers plugin.

When the page was load by the first time the default template of default tracker has been loaded.
When I change the tracker the template isn't load but if I click in "Erase subject and description" it works. If I change to a "no value" in the select and change to template again work too.

Follow my production.log

Started POST "/projects/modulo-ambulatorio-administrativo/issues/new.js" for 172.17.61.157 at 2016-06-07 13:59:34 -0300
Processing by IssuesController#new as JS
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"wFq2nNb7tZXQ9f9fypDa4DwMI60OB+QRJGfLnFCNG/Dt25NRy4MyH0hBb9vReSCvp96ZfgrI76DhbEGd14F52Q==", "issue"=>{"is_private"=>"0", "tracker_id"=>"50", "subject"=>"Nome da Funcionalidade > Título do Incidente (O titulo deve ser intuitivo e indicar de forma sucinta e clara o incidente)", "description"=>"h1. *Resumidamente, qual o relato do Incidente?*\r\n\r\n*%{color:red}Passo a passo%:*\r\n\r\n* *Em qual ambiente o Incidente ocorreu?*\r\n\r\n* *Quando o Incidente ocorreu(Data e Hora)?*\r\n\r\n* *Quem fez a operação (Papel ou perfil de usuário)?* \r\n\r\n* *Como fez a operação? Quais dados foram utilizados? Quais filtros ou outras particularidades foram preenchidas?* \r\n\r\n* *Resultado da operação:*\r\n\r\n\r\n\r\n_Sempre que possível deve ser anexado um print da tela onde ocorreu o incidente._", "status_id"=>"72", "priority_id"=>"4", "assigned_to_id"=>"", "fixed_version_id"=>"", "parent_issue_id"=>"", "start_date"=>"2016-06-07", "due_date"=>"", "estimated_hours"=>"", "custom_field_values"=>{"22"=>"", "4"=>"", "55"=>"", "66"=>"", "116"=>"0", "210"=>"", "211"=>"", "214"=>""}}, "issue_template"=>"1", "was_default_status"=>"72", "new_checklist"=>"", "project_id"=>"modulo-ambulatorio-administrativo"}
  Current user: filipe.hoffmeister (id=278)
  Rendered plugins/redmine_issue_templates/app/views/issue_templates/_issue_select_form.html.erb (5.2ms)
  Rendered issues/_form_custom_fields.html.erb (149.3ms)
  Rendered issues/_attributes.html.erb (355.1ms)
  Rendered plugins/redmine_issue_checklist/app/views/issues/_checklist_form.html.erb (1.5ms)
  Rendered plugins/redmine_wiki_extensions/app/views/wiki_extensions/_issues_form_details_bottom.html.erb (0.6ms)
  Rendered issues/_form.html.erb (511.5ms)
  Rendered issues/new.js.erb (517.7ms)
Completed 200 OK in 689ms (Views: 508.7ms | ActiveRecord: 24.4ms)
Actions #7

Updated by Akiko Takano over 8 years ago

Hi, Filipe.
Thanks for your reporting issue.

This behavior is caused as the workaround for the following issue:

- https://bitbucket.org/akiko_pusu/redmine_issue_templates/issues/36

And now I’m trying to refactor and fix some bugs on my Github’s repository. Though I have not released yet, please try this repository with master branch.

- https://github.com/akiko-pusu/redmine_issue_templates

Actions #8

Updated by Akiko Takano over 8 years ago

  • Target version changed from version0.1.1 to Future Release
Actions #9

Updated by Akiko Takano over 8 years ago

  • Target version changed from Future Release to ver0.1.2
Actions #10

Updated by Akiko Takano over 8 years ago

  • % Done changed from 0 to 100
Actions #11

Updated by Akiko Takano over 8 years ago

  • Status changed from 解決(Resolved) to 終了(Closed)
Actions

Also available in: Atom PDF