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
Clarify explanation
Dombi Attila1c1de12cf8ad
diff --git a/app/models/work_package.rb b/app/models/work_package.rbindex 53478630c1b..5655be912df 100644--- a/app/models/work_package.rb+++ b/app/models/work_package.rb@@ -144,8 +144,8 @@ class WorkPackage < ApplicationRecordif: lambda { |work_package| work_package.errors.messages.has_key? :attachments }before_save :close_duplicates, :update_done_ratio_from_statusbefore_create :default_assign- # By using prepend: true, the callback will be executed before the meeting_agenda_items are nullified,- # thus the items will be available for the callback method.+ # By using prepend: true, the callback will be performed before the meeting_agenda_items are nullified,+ # thus the associated agenda items will be available at the time the callback method is performed.around_destroy :save_agenda_item_journals, prepend: true, if: -> { meeting_agenda_items.any? }acts_as_customizable