OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
current_user is not defined everywhere (e.g. webhook job)
ulfertsdbe876f67ca3
diff --git a/app/helpers/open_project_error_helper.rb b/app/helpers/open_project_error_helper.rbindex 6d136b6e36a..74a0c878b54 100644--- a/app/helpers/open_project_error_helper.rb+++ b/app/helpers/open_project_error_helper.rb@@ -26,11 +26,11 @@ module OpenProjectErrorHelperdef op_logging_context{- current_user: current_user,+ current_user: User.current,params: params,request: try(:request),session: try(:session),- env: try(:env),+ env: try(:env)}endend