Open
Description
Which Umbraco version are you using?
15.4.2
Bug summary
I've created a sample package and added a migration to it. When running 'Run pending migrations' through the UI, I get the error 'No migration plans were found for that package.'
With a little investigation, I found that PackageMigrationRunner.RunPendingPackageMigrations
checks the packageName
against the planName
(_packageMigrationPlans
dictionary's key is the plan name rather than the package name), and since the plan and package names differ, it fails at this condition.
Specifics
No response
Steps to reproduce
- Add a new package with migration plan
- Click 'Run pending migrations' under Packages > Installed tab.
Expected result / actual result
- Successfully running of migrations.
- Failing to find a migration to run.