Starts in:
1 DAY
21 HRS
22 MIN
4 SEC
Starts in:
1 D
21 H
22 M
4 S

Activities of "Frontis"

  • ABP Framework version: 8.3.4

  • UI Type: MVC

  • Database System: EF Core (SQL Server)

  • Tiered (for MVC) or Auth Server Separated (for Angular): no

  • Exception message and full stack trace: [10:21:46 INF] You are running the second generation of the ABP CLI. If you're interested in the legacy CLI, see https://abp.io/new-cli [10:21:46 INF] Downloading source code of Volo.Abp.LeptonXTheme (Latest) [10:21:46 INF] Output folder: x [10:21:47 ERR] Downloading source code failed for: Volo.Abp.LeptonXTheme Volo.Abp.Studio.AbpStudioException: Exception of type 'Volo.Abp.Studio.AbpStudioException' was thrown. at async Task Volo.Abp.Studio.Modules.Installing.SourceCodeDownloader.DownloadSourceCodeAsync(string moduleName, string targetFolder, string version, bool includeNightly) at async Task Volo.Abp.Studio.Cli.Commands.StudioGetSourceCommand.ExecuteAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunInternalAsync(CommandLineArgs commandLineArgs) at async Task Volo.Abp.Studio.Cli.StudioCliService.RunAsync(string[] args)

  • Steps to reproduce the issue:

  • Install ABP studio (any version)
    • dotnet tool install -g Volo.Abp.Studio.Cli
  • log in
  • abp get-source Volo.Abp.LeptonXTheme

Other info:

  • abp get-source Volo.Abp.LeptonTheme (Lepton theme, not LeptonX) is working
  • I had versions 0.9.9 and 0.9.10, maybe this is causing an issue?
  • Maybe related: https://abp.io/support/questions/8326/Trying-to-download-LeptonXTheme
  • I run ABP studio on Windows
  • ABP Framework version: v7.3.2 / 7.4.0
  • UI Type: MVC
  • Database System: EF Core MSSQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): no

Reproduction Steps

  • Create a new ABP project, version 7.3.2
  • update the abp CLI to version 7.4.0 (dotnet tool update -g Volo.Abp.Cli)
  • Navigate to the created ABP project directory using the Command Prompt (CMD)
  • Update the project (abp update -v 7.4.0)
  • Note that the upgrade for package Volo.Abp.AspNetCore.Mvc.UI. Theme.Shared failed

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

  • ABP Framework version: v5.1.4
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

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?

Showing 1 to 3 of 3 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06