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
Handle parameters properly
Mir Bhatia7986fefb3bb3
diff --git a/modules/meeting/app/controllers/meetings_controller.rb b/modules/meeting/app/controllers/meetings_controller.rbindex 69941b8157f..3486c3eea6b 100644--- a/modules/meeting/app/controllers/meetings_controller.rb+++ b/modules/meeting/app/controllers/meetings_controller.rb@@ -151,6 +151,7 @@ class MeetingsController < ApplicationControllerdef update@meeting.participants_attributes = @converted_params.delete(:participants_attributes)+ @converted_params.delete(:send_notifications)@meeting.attributes = @converted_paramsif @meeting.saveflash[:notice] = I18n.t(:notice_successful_update)diff --git a/modules/meeting/app/models/meeting.rb b/modules/meeting/app/models/meeting.rbindex c777a551651..92cc9fe1ad1 100644--- a/modules/meeting/app/models/meeting.rb+++ b/modules/meeting/app/models/meeting.rb@@ -109,21 +109,6 @@ class Meeting < ApplicationRecordclosed: 5}- # => {"agenda_items_7"=>{"title"=>["New agenda item edited", "New agenda item edited again"], "duration_in_minutes"=>["5", "3"], "notes"=>["Notes added as well", "Notes edited"]}}--# => {"project_id"=>[nil, 14],-# "user_id"=>[nil, 9],-# "work_package_id"=>[nil, 48211],-# "hours"=>[nil, 1.0],-# "comments"=>[nil, "Alex"],-# "activity_id"=>[nil, 8],-# "spent_on"=>[nil, Mon, 31 Jul 2023],-# "tyear"=>[nil, 2023],-# "tmonth"=>[nil, 7],-# "tweek"=>[nil, 31],-# "costs"=>[nil, 0.0],-# "logged_by_id"=>[nil, 9]}-### Return the computed start_time when changeddef start_time