Redmine issues bulk edit throws exception in RedmineUP Tags plugin

1

senguttuvang@gmail.com Ganesan
Added over 5 years ago

Started GET "/issues/bulk_edit?ids%5B%5D=8071&ids%5B%5D=8143" for 157.51.102.34 at 2019-04-18 06:29:47 +0000
Processing by IssuesController#bulk_edit as HTML
Parameters: {"ids"=>["8071", "8143"]}
Current user: seng (id=5)
Rendered plugins/redmineup_tags/app/views/issues/_tags_form.html.erb (1.6ms)
Rendered issues/bulk_edit.html.erb within layouts/base (20.9ms)
Completed 500 Internal Server Error in 103ms (ActiveRecord: 42.0ms)

ActionView::Template::Error (undefined method `project' for nil:NilClass):
1: <% if User.current.allowed_to?(:edit_tags, @issue.project) >
2: <div class="<
= 'splitcontentleft' if defined? form >">
3: <p id="issue_tags">
4: <label><
= l(:tags) %></label>
plugins/redmineup_tags/app/views/issues/_tags_form.html.erb:1:in `_plugins_redmineup_tags_app_views_issues__tags_form_html_erb__1957755823822824096_69860171609720'
lib/redmine/hook/view_listener.rb:59:in `block (2 levels) in render_on'
lib/redmine/hook/view_listener.rb:57:in `map'
lib/redmine/hook/view_listener.rb:57:in `block in render_on'
lib/redmine/hook.rb:61:in `block (2 levels) in call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61:in `block in call_hook'
lib/redmine/hook.rb:58:in `tap'
lib/redmine/hook.rb:58:in `call_hook'
lib/redmine/hook.rb:96:in `call_hook'
app/views/issues/bulk_edit.html.erb:138:in `block in app_views_issues_bulk_edit_html_erb__2469260968534807114_69860163642220'
app/views/issues/bulk_edit.html.erb:25:in `_app_views_issues_bulk_edit_html_erb___2469260968534807114_69860163642220'
lib/redmine/sudo_mode.rb:63:in `sudo_mode'

Dimitar Chervenakov over 5 years

Hello. Thanks for notifying us about this problem. It is already solved by the developers. Please check the following screenshots while testing:
1. Two issues with tags are selected - http://joxi.ru/GrqJ5vwU4bD9qm.jpg
2. They are successfully edited afterward - http://joxi.ru/5mdaevES3Jgzk2.jpg

The fix is officially implemented in version: 2.0.6 of Tags plugin which was released on May 16, 2019. Detailed points of the update log are as follows:
  • Supported Redmine versions: 4.0 - 2.6
  • Added tags to Time entries report new
  • Added tags to Agile Versions board new
  • Updated German translation (Werner Maier)
  • Fixed Agile plugin compatibility bug
  • Fixed adding tags context menu permissions
  • Fixed bulk edit issue tags form permissions

It could be downloaded from here:
https://www.redmineup.com/pages/plugins/tags

Answers (2)

0

Mario Lipinski
Added over 5 years ago

Same problem here...

Dimitar Chervenakov over 5 years

Hello. Thanks for notifying us about this problem. It is already solved by the developers. Please check the following screenshots while testing:
1. Two issues with tags are selected - http://joxi.ru/GrqJ5vwU4bD9qm.jpg
2. They are successfully edited afterward - http://joxi.ru/5mdaevES3Jgzk2.jpg

The fix is officially implemented in version: 2.0.6 of Tags plugin which was released on May 16, 2019. Detailed points of the update log are as follows:
  • Supported Redmine versions: 4.0 - 2.6
  • Added tags to Time entries report new
  • Added tags to Agile Versions board new
  • Updated German translation (Werner Maier)
  • Fixed Agile plugin compatibility bug
  • Fixed adding tags context menu permissions
  • Fixed bulk edit issue tags form permissions

It could be downloaded from here:
https://www.redmineup.com/pages/plugins/tags

0

Dimitar Chervenakov
Added over 4 years ago

Hello. Thanks for notifying us about this problem. It is already solved by the developers. Please check the following screenshots while testing:
1. Two issues with tags are selected - http://joxi.ru/GrqJ5vwU4bD9qm.jpg
2. They are successfully edited afterward - http://joxi.ru/5mdaevES3Jgzk2.jpg

The fix is officially implemented in version: 2.0.6 of Tags plugin which was released on May 16, 2019. Detailed points of the update log are as follows:
  • Supported Redmine versions: 4.0 - 2.6
  • Added tags to Time entries report new
  • Added tags to Agile Versions board new
  • Updated German translation (Werner Maier)
  • Fixed Agile plugin compatibility bug
  • Fixed adding tags context menu permissions
  • Fixed bulk edit issue tags form permissions

It could be downloaded from here:
https://www.redmineup.com/pages/plugins/tags

    (1-2/2)