Closed archonwang closed 7 years ago
Hello @archonwang
This part is strange :
undefined method <<' for nil:NilClass plugins/redmine_issue_dynamic_edit/lib/details_issue_hooks.rb:129:in view_issues_show_details_bottom'
Did you modify redmine_issue_dynamic_edit/lib/details_issue_hooks.rb
file ?
What have you got at line 129 ? It looks like there's a problem with this line (you can compare with the file from the repo)
@Ilogeek , I have not modified the file. and I found it seems that when I use anoyous user to view the issue details occured the error. I used redmine 3.3.4 with mysql.
Hello @archonwang
I updated the code. The problem was that the variable o
was only created if the user was authenticated. I moved the declaration and now the problem may be fixed.
If you don't want to update to v0.4.0 and keep the one you have, you just have to edit redmine_issue_dynamic_edit/lib/details_issue_hooks.rb
file and add o = ''
at line 20 (don't forget to delete line 26 at the same time)
@Ilogeek , Thanks. I will test it later on my environment.
~~ Good! it works. Thanks.
@Ilogeek ,
edit error, please help to check it.
logs