Fix has pending package migrations (#17423)
* update submodule * update submodule * Reintroduce a favicon (#17422) * Fixes issue where package name was compared to package id, so packages had pending migrations from the management api endpoint, without actually have it. --------- Co-authored-by: Niels Lyngsø <niels.lyngso@gmail.com>
This commit is contained in:
@@ -382,16 +382,16 @@ public class PackagingService : IPackagingService
|
||||
_keyValueService.FindByKeyPrefix(Constants.Conventions.Migrations.KeyValuePrefix);
|
||||
|
||||
InstalledPackage[] installedPackages = _packageMigrationPlans
|
||||
.GroupBy(plan => plan.PackageName)
|
||||
.GroupBy(plan => (plan.PackageName, plan.PackageId))
|
||||
.Select(group =>
|
||||
{
|
||||
var package = new InstalledPackage
|
||||
{
|
||||
PackageName = group.Key,
|
||||
PackageName = group.Key.PackageName,
|
||||
};
|
||||
|
||||
var currentState = keyValues?
|
||||
.GetValueOrDefault(Constants.Conventions.Migrations.KeyValuePrefix + package.PackageName);
|
||||
.GetValueOrDefault(Constants.Conventions.Migrations.KeyValuePrefix + group.Key.PackageId);
|
||||
|
||||
package.PackageMigrationPlans = group
|
||||
.Select(plan => new InstalledPackageMigrationPlans
|
||||
|
||||
Submodule src/Umbraco.Web.UI.Client updated: f0ad1c6f43...29583d3d34
BIN
templates/UmbracoProject/wwwroot/favicon.ico
Normal file
BIN
templates/UmbracoProject/wwwroot/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.3 KiB |
Reference in New Issue
Block a user