Skip to content

Commit

Permalink
[56769] Migrate queries with timeline to Gantt module
Browse files Browse the repository at this point in the history
https://community.openproject.org/wp/56769

The original migration `ChangeViewOfQueriesWithTimelineToGantt` was
fine, but it was applied too early: in OpenProject 13.2.0 the migration
would already have been run and it was still possible to create Gantt
queries inside the work packages module. Such queries were not migrated.

This commit runs the original migration again to ensure all queries
displayed as Gantt charts are displayed in the right module.
  • Loading branch information
cbliard committed Sep 30, 2024
1 parent e6d792d commit 2cc1216
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
require_relative "20231201085450_change_view_of_queries_with_timeline_to_gantt"

# Inherit from the original migration `ChangeViewOfQueriesWithTimelineToGantt`
# to avoid duplicating it.
#
# The original migration was fine, but it was applied too early: in OpenProject
# 13.2.0 the migration would already have been run and it was still possible to
# create Gantt queries inside the work packages module. Such queries were not
# migrated.
#
# This was registered as bug #56769.
#
# This migration runs the original migration again to ensure all queries
# displayed as Gantt charts are displayed in the right module.
class ChangeViewOfQueriesWithTimelineToGanttAgain < ChangeViewOfQueriesWithTimelineToGantt
end

0 comments on commit 2cc1216

Please sign in to comment.