V12.1.2 - Unable to specify order of PackageMigrations for execution #14817
warrenbuckley
started this conversation in
Features and ideas
Replies: 1 comment 2 replies
-
Heyo! 👋 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
12.1.2
Bug summary
Unable to specify an order that package migrations execute in.
Why is this a problem?
This can be problematic if you are building a starter kit or starting point site that uses other packages which have their own Package Migrations,
For example I may use the Umbraco 'The Starter Kit' which has it's own package migrations to install content & other things, I then as a developer wish to run a Package Migration AFTER The Starter Kit, so that I can modify templates/views with some additional updates.
There is no guarantee in the order of execution my Package Migration may run before The Starter Kit's one and my modifications to a template
Specifics
No response
Steps to reproduce
With a clean Umbraco Solution 12.1.2
Umbraco.TheStarterKit
UpdateMasterTemplate.cs
Expected result / actual result
To be able to specify a specific set of order that PackageMigrations execute.
Suggestion
To perhaps make the
PackageMigrationPlans
Collection a Weighted or Ordered CollectionNotes
For reference the same issue discussed with @ronaldbarendse on Discord
https://discord.com/channels/869656431308189746/1151161117939335179/1151279287610118185
Beta Was this translation helpful? Give feedback.
All reactions