diff --git a/.fabmanager-version b/.fabmanager-version index 08e8b22de..ffd9a9bab 100644 --- a/.fabmanager-version +++ b/.fabmanager-version @@ -1 +1 @@ -2.5.13 \ No newline at end of file +2.5.14 diff --git a/CHANGELOG.md b/CHANGELOG.md index ce595d0b9..d1ad39e9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog Fab Manager +## v2.5.14 2017 September 12 + +- Fix a bug: Error message in fix:recursive_events_over_DST failed and does not report events to check + ## v2.5.13 2017 September 11 - Fix a bug: ActiveRecord::RecordNotFound when running rake task fix:recursive_events_over_DST with recursive events which the initial event was deleted diff --git a/lib/tasks/fablab/fix.rake b/lib/tasks/fablab/fix.rake index 4b66e78aa..93a53c459 100644 --- a/lib/tasks/fablab/fix.rake +++ b/lib/tasks/fablab/fix.rake @@ -82,7 +82,7 @@ namespace :fablab do if failed_ids.size > 0 puts "WARNING: The events with IDs #{failed_ids} were not found.\n These were initial events of a recurrence.\n\n You may have to correct the following events manually (IDs): " - puts "#{Events.where(recurrence_id: failed_ids).map(&:id)}" + puts "#{Event.where(recurrence_id: failed_ids).map(&:id)}" end end end