Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue editing templates #80

Open
kibotu21 opened this issue Jul 31, 2023 · 1 comment
Open

Issue editing templates #80

kibotu21 opened this issue Jul 31, 2023 · 1 comment

Comments

@kibotu21
Copy link

Summary

Issue editing templates

Description

After the update we get the following error message. We cannot edit templates.

[32mred5_redmine |[0m I, [2023-07-29T11:31:23.507338 #1] INFO -- : Processing by AccountController#login as HTML [32mred5_redmine |[0m I, [2023-07-29T11:31:23.507416 #1] INFO -- : Parameters: {"utf8"=>"✓", "authenticity_token"=>"Hi//HkgnUV0xsddla+YGv2oCTE+Mc4Tc1t2ti2ICoThSrR5ZEc8Iwq8CAw1HLsJL15MFH7g40wmXMyixcWECxw==", "back_url"=>"/projects/__________________________test/issue_templates", "username"=>"user", "password"=>"[FILTERED]", "login"=>"Login"} [32mred5_redmine |[0m I, [2023-07-29T11:31:23.510747 #1] INFO -- : Current user: anonymous [32mred5_redmine |[0m I, [2023-07-29T11:31:23.517818 #1] INFO -- : Successful authentication for 'user' from 192.168.0.10 at 2023-07-29 11:31:23 UTC [32mred5_redmine |[0m I, [2023-07-29T11:31:23.554399 #1] INFO -- : Redirected to https://testsystem.abcd.abcd.com/projects/__________________________test/issue_templates [32mred5_redmine |[0m I, [2023-07-29T11:31:23.554627 #1] INFO -- : Completed 302 Found in 47ms (ActiveRecord: 16.8ms | Allocations: 18329) [32mred5_redmine |[0m I, [2023-07-29T11:31:23.632831 #1] INFO -- : Started GET "/projects/__________________________test/issue_templates" for 192.168.0.10 at 2023-07-29 11:31:23 +0000 [32mred5_redmine |[0m I, [2023-07-29T11:31:23.633985 #1] INFO -- : Processing by IssueTemplatesController#index as HTML [32mred5_redmine |[0m I, [2023-07-29T11:31:23.634100 #1] INFO -- : Parameters: {"project_id"=>"__________________________test"} [32mred5_redmine |[0m I, [2023-07-29T11:31:23.640331 #1] INFO -- : Current user: user (id=1118) [32mred5_redmine |[0m I, [2023-07-29T11:31:23.718849 #1] INFO -- : Rendered plugins/redmine_issue_templates/app/views/issue_templates/index.html.erb within layouts/base (Duration: 22.8ms | Allocations: 9478) [32mred5_redmine |[0m I, [2023-07-29T11:31:23.755683 #1] INFO -- : Rendered layout layouts/base.html.erb (Duration: 59.6ms | Allocations: 24337) [32mred5_redmine |[0m I, [2023-07-29T11:31:23.763494 #1] INFO -- : Completed 200 OK in 129ms (Views: 52.6ms | ActiveRecord: 33.1ms | Allocations: 48995) [32mred5_redmine |[0m I, [2023-07-29T11:31:26.099372 #1] INFO -- : Started GET "/projects/__________________________test/issue_templates/new" for 192.168.0.10 at 2023-07-29 11:31:26 +0000 [32mred5_redmine |[0m I, [2023-07-29T11:31:26.100776 #1] INFO -- : Processing by IssueTemplatesController#new as HTML [32mred5_redmine |[0m I, [2023-07-29T11:31:26.101096 #1] INFO -- : Parameters: {"project_id"=>"__________________________test"} [32mred5_redmine |[0m I, [2023-07-29T11:31:26.105875 #1] INFO -- : Current user: user (id=1118) [32mred5_redmine |[0m I, [2023-07-29T11:31:26.150755 #1] INFO -- : Rendered plugins/redmine_issue_templates/app/views/issue_templates/new.html.erb within layouts/base (Duration: 29.4ms | Allocations: 12935) [32mred5_redmine |[0m I, [2023-07-29T11:31:26.151288 #1] INFO -- : Rendered layout layouts/base.html.erb (Duration: 29.7ms | Allocations: 12963) [32mred5_redmine |[0m I, [2023-07-29T11:31:26.151818 #1] INFO -- : Completed 500 Internal Server Error in 50ms (ActiveRecord: 3.0ms | Allocations: 21967) [32mred5_redmine |[0m F, [2023-07-29T11:31:26.153562 #1] FATAL -- : [32mred5_redmine |[0m ActionView::Template::Error (undefined method related_link' for #<IssueTemplate id: nil, title: nil, project_id: 1, tracker_id: nil, author_id: 1118, note: nil, description: nil, enabled: false, created_on: nil, updated_on: nil, issue_title: nil, position: 1, is_default: false, enabled_sharing: false, checklist_json: nil, builtin_fields_json: nil>):
[32mred5_redmine |[0m 123: label: l(:issue_template_note), style: 'overflow:auto;' %>
[32mred5_redmine |[0m 124:


[32mred5_redmine |[0m 125:
[32mred5_redmine |[0m 126:

<%= f.text_field :related_link, type: 'url',
[32mred5_redmine |[0m 127: size: 70, label: l(:issue_template_related_link, default: 'Related link') %>
[32mred5_redmine |[0m 128: <a class='icon icon-help template-help' title='<%= l(:help_for_this_field) %>'
[32mred5_redmine |[0m 129: data-template-help-target='related_link_help_content'
[32mred5_redmine |[0m
[32mred5_redmine |[0m lib/redmine/views/labelled_form_builder.rb:33:in text_field' [32mred5_redmine |[0m plugins/redmine_issue_templates/app/views/issue_templates/_form.html.erb:126 [32mred5_redmine |[0m plugins/redmine_issue_templates/app/views/issue_templates/new.html.erb:13 [32mred5_redmine |[0m app/helpers/application_helper.rb:1483:in labelled_form_for'
[32mred5_redmine |[0m plugins/redmine_issue_templates/app/views/issue_templates/new.html.erb:9
[32mred5_redmine |[0m plugins/redmine_issue_templates/app/controllers/issue_templates_controller.rb:49:in new' [32mred5_redmine |[0m lib/redmine/sudo_mode.rb:61:in sudo_mode'`

Environment

Environment:
Redmine version 5.0.4.stable
Ruby version 3.1.3-p185 (2022-11-24) [x86_64-linux]
Rails version 6.1.7
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Gitmike
SCM:
Subversion 1.14.1
Mercurial 5.6.1
Bazaar 3.1.0
Git 2.30.2
Filesystem
Redmine plugins:
easy_baseline 2.0
easy_gantt 2.0
easy_gantt_pro 2.0
easy_mindmup 2.0
easy_wbs 2.0
redmine_drawio 1.4.5
redmine_issue_templates 1.1.1
redmineup_tags 2.0.12

@github-actions
Copy link

Thank you for contributing to Redmine Issue Templates plugin!' first issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant