fanzai0403 / status_button

redmine plugin status_button
21 stars 36 forks source link

Incompatible with Redmine 3.4 #9

Closed y503unavailable closed 5 years ago

y503unavailable commented 6 years ago

Thanks for useful plugins.

But,this plugin does not work properly with Redmine 3.4.

I created a patch and worked properly in my Redmine 3.4 environment.

Could you please check and merge?


There were two problems in my Redmine 3.4 environment.

Problem 1 Immediately after installing the plugin, you can correctly edit and save the issue.

Create user custom fields and assign them to trackers.

Then an internal error occurs when ticket is edited and saved.

NoMethodError (undefined method each' for nil:NilClass): plugins/status_button/lib/issues_status_hook.rb:17:inupdate_issues' plugins/status_button/lib/issues_status_hook.rb:10:in `controller_issues_edit_before_save'

Problem 2 On the plugin setting screen, you can not select any custom field to assign to the person in charge of each status.