Reproduction Steps
dotnet tool update -g Volo.Abp.Cli
)abp update -v 7.4.0
)Expected behavior
The package should update without any failures
Actual behavior
An error, see screenshot above. Below text-based.
1. HTTP request attempt failed to https://nuget.abp.io/xxx/v3/package/Volo.Abp.AspNetCore.Mvc/index.json with an error: 404-Not Found. Waiting 2 secs for the next try...
Value cannot be null. (Parameter 'source')
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.SpecifiedVersionExists(String version, String packageId) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\VoloNugetPackagesVersionUpdater.cs:line 148
at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.UpdateVoloPackagesAsync(String content, Boolean includeNightlyPreviews, Boolean includeReleaseCandidates, Boolean switchToStable, SemanticVersion latestNugetVersion, SemanticVersion latestNugetReleaseCandidateVersion, String latestMyGetVersion, String specifiedVersion) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\VoloNugetPackagesVersionUpdater.cs:line 297
Known Workarounds
Update Volo.Abp.AspNetCore.Mvc
manually
Dear,
For one of our customers, we want to include an extra identification column, to the (bearer) token claims. It has to be an user column.
For this, i've added the column wisch works so far
**DtoExtensions.cs
ObjectExtensionManager.Instance.AddOrUpdateProperty<IdentityUserDto, long>("MonteursId");
**ModuleExtensionConfigurator.cs
private static void ConfigureExtraProperties()
{
ObjectExtensionManager.Instance.Modules()
.ConfigureIdentity(identity =>
{
identity.ConfigureUser(user =>
{
user.AddOrUpdateProperty<long>("MonteursId");
});
});
}
**EfCoreEntityExtensionMappings.cs
OneTimeRunner.Run(() =>
{
ObjectExtensionManager.Instance.MapEfCoreProperty<IdentityUser, long>(
"MonteursId",
(entityBuilder, propertyBuilder) =>
{ });
});
We want the value of "monteursid" to appear in the token, just like it does when you add a claim by the dropdown as shown below.
I've tried multiple things, but it doesn't appear in the token. What can i do to make it happen?