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

An error occurs when private comments of other users are included. #13

Open
sk-ys opened this issue Jul 22, 2023 · 0 comments
Open

An error occurs when private comments of other users are included. #13

sk-ys opened this issue Jul 22, 2023 · 0 comments

Comments

@sk-ys
Copy link

sk-ys commented Jul 22, 2023

The following is an error message appears in the console of the development environment..

Completed 500 Internal Server Error in 1173ms (ActiveRecord: 150.4ms | Allocations: 521703)



NoMethodError (undefined method `name' for nil:NilClass

            j.user.name + "\n" + j.details.map {|d| show_detail(d, true)}.join("\n") + "\n" + (j.notes.nil? ? '' :     j.notes)
                  ^^^^^):

plugins/redmine_export_with_journals/app/helpers/issues_export_helper.rb:9:in `block (3 levels) in add_journals'
plugins/redmine_export_with_journals/app/helpers/issues_export_helper.rb:8:in `map'
plugins/redmine_export_with_journals/app/helpers/issues_export_helper.rb:8:in `block (2 levels) in add_journals'
plugins/redmine_export_with_journals/app/helpers/issues_export_helper.rb:4:in `block in add_journals'
plugins/redmine_export_with_journals/app/helpers/issues_export_helper.rb:3:in `add_journals'
plugins/redmine_export_with_journals/app/controllers/issues_export_controller.rb:43:in `export_with_journals'
lib/redmine/sudo_mode.rb:61:in `sudo_mode'
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