Open Closed

Bugs & Issues v5.X #2209


0
albert created
Support Team

To update both ABP CLI and ABP Suite to the latest preview, run the following command:

dotnet tool update -g Volo.Abp.Cli --version *-rc* && abp suite update --preview

v5.0 Preview ABP Framework Version Notes https://blog.abp.io/abp/ABP-IO-Platform-5.0-RC-1-Has-Been-Released


103 Answer(s)
  • 0
    albert created
    Support Team

    actually I wrote the version parameter with asterix but mark down converted it to italic :) here's the command and you can also use prerelease

  • 1
    jkrause created

    ABP: v5.0.0-rc.1 CLI: v5.0.0-rc.1 Suite: v5.0.0-rc.1


    When (re)generating the the various files using the CRUD generator the <MyModule>EntityFrameworkCoreModule class will:

    • Have the namespaces repeated on the top, e.g.:
    using Acme.Abp.Crm.Contacts;
    using Acme.Abp.Crm.Companies;
    using Acme.Abp.Crm.Companies;
    using Acme.Abp.Crm.Companies;
    using Acme.Abp.Crm.Contacts;
    using Acme.Abp.Crm.Companies;
    
    • Have the AddRepository mapping repeated inside ConfigureServices, e.g.:
    options.AddRepository<Company, Companies.EfCoreCompanyRepository>();
    options.AddRepository<Contact, Contacts.EfCoreContactRepository>();
    options.AddRepository<Company, Companies.EfCoreCompanyRepository>();
    options.AddRepository<Company, Companies.EfCoreCompanyRepository>();
    options.AddRepository<Company, Companies.EfCoreCompanyRepository>();
    options.AddRepository<Contact, Contacts.EfCoreContactRepository>();
    

    Edit: This will happen after an Entity is updated (more properties, extra navigations) and then Save and generate is clicked, or when you simply click it twice. When you then switch to another entity that gets updated or otherwise and click Save and generate then this one will be repeated as well.

  • 0
    albert created
    Support Team

    thanks I'm creating an issue for that. we'll check it. as I understand you create the same entity more than once, don't you?

  • 0
    jkrause created

    @albert,

    The same thing happens for the <MyModule>ApplicationAutoMapperProfile class. I am regenerating the code, since I made changes to the templates, and the mapping code is then duplicated.

    Situation after first code generation:

    CreateMap<OrganizationUnit, LookupDto<Guid>>().ForMember(dest => dest.DisplayName, opt => opt.MapFrom(src => src.DisplayName));
    CreateMap<IdentityUser, LookupDto<Guid?>>().ForMember(dest => dest.DisplayName, opt => opt.MapFrom(src => src.Email));
    

    Method contents after second code generation:

    CreateMap<OrganizationUnit, LookupDto<Guid>>().ForMember(dest => dest.DisplayName, opt => opt.MapFrom(src => src.DisplayName));
    CreateMap<IdentityUser, LookupDto<Guid?>>().ForMember(dest => dest.DisplayName, opt => opt.MapFrom(src => src.Email));
    
    // This is duplicated
    CreateMap<IdentityUser, LookupDto<Guid>>().ForMember(dest => dest.DisplayName, opt => opt.MapFrom(src => src.Email));
    

    As you can observe, it seems that the CRUD generator does not "see" that this mapping already exists? Similarly, this also happens with other mapping statements, where you would end up with multiple definitions when you regenerate the code for multiple entities in succession (still well within regular usage of the CRUD tooling I would say):

    CreateMap<Company, CompanyDto>();
    CreateMap<CompanyWithNavigationProperties, CompanyWithNavigationPropertiesDto>();
    
    CreateMap<Company, LookupDto<Guid?>>().ForMember(dest => dest.DisplayName, opt => opt.MapFrom(src => src.Name));
    // This is duplicated
    CreateMap<Company, CompanyDto>();
    

    Edit: The namespace duplication happens a lot as well for the *AppService classes and the classes *WithNavigationPropertiesDto.

    (though I do realize this is minor and will not actually produce error situations)

    Hope this explains it well enough, there are other parts where the Regex seems to be too greedy and will match too much code, even code the CRUD generator did not create, but I moved that code out to separate files to avoid it all to gether.

    Thanks again for your time and effort.

  • 0
    albert created
    Support Team

    thanks, I'm adding this feedback to the issue.

  • 0
    Emanuele.Filardo created

    Same issue of 4.4.X, in some template AppService has entity-name in other entity-name-plural

  • 0
    Emanuele.Filardo created

    Is still missing GUID property type

  • 0
    albert created
    Support Team

    When you create a new entity you can use the GUID type

    But there's no GUID type when you create a new property on your entity. The reason is, there's no option to not creating a UI control for a property and GUID type is a special type. There's no suitable UI input control for a GUID type. So this will not be implemented before this feature "don't create UI control for this property" .

  • 0
    jkrause created

    The duplication also occurs in the ConfigureServices method of the <MyModule>WebModule file:

    (Again, I know this is minor and will not actually produce error situations so understandble if this would be of a lesser priority)

  • 0
    Emanuele.Filardo created

    When you create a new entity you can use the GUID type

    But there's no GUID type when you create a new property on your entity. The reason is, there's no option to not creating a UI control for a property and GUID type is a special type. There's no suitable UI input control for a GUID type. So this will not be implemented before this feature "don't create UI control for this property" .

    ok, a faster solution could be to ignore properties with GUID type when generate UI but we can see all properties in abp suite.

  • 0
    albert created
    Support Team

    When you create a new entity you can use the GUID type

    But there's no GUID type when you create a new property on your entity.
    The reason is, there's no option to not creating a UI control for a property and GUID type is a special type.
    There's no suitable UI input control for a GUID type.
    So this will not be implemented before this feature "don't create UI control for this property" .

    ok, a faster solution could be to ignore properties with GUID type when generate UI but we can see all properties in abp suite.

    yes this can be a fast solution. I've created an internal issue for this request.

  • 0
    albert created
    Support Team

    The duplication also occurs in the ConfigureServices method of the <MyModule>WebModule file:

    (Again, I know this is minor and will not actually produce error situations so understandble if this would be of a lesser priority)

    thanks for the update. I noted this as well.

  • 0
    improwise created

    C:\Users\XXXX> abp suite install [13:08:29 INF] ABP CLI (https://abp.io) [13:08:29 INF] Version 5.0.0-rc.1 (Prerelease) [13:08:29 INF] Installing ABP Suite latest version... Failed to create shell shim for tool 'volo.abp.suite': Command 'abp-suite' conflicts with an existing command from another tool. Tool 'volo.abp.suite' failed to install. [13:08:33 INF] You can also run the following command to install ABP Suite. [13:08:33 INF] dotnet tool install -g Volo.Abp.Suite --add-source https://nuget.abp.io/<your-private-key>/v3/index.json

  • 0
    improwise created

    C:\Users\XXXX> abp suite install [13:08:29 INF] ABP CLI (https://abp.io) [13:08:29 INF] Version 5.0.0-rc.1 (Prerelease) [13:08:29 INF] Installing ABP Suite latest version... Failed to create shell shim for tool 'volo.abp.suite': Command 'abp-suite' conflicts with an existing command from another tool. Tool 'volo.abp.suite' failed to install. [13:08:33 INF] You can also run the following command to install ABP Suite. [13:08:33 INF] dotnet tool install -g Volo.Abp.Suite --add-source https://nuget.abp.io/<your-private-key>/v3/index.json

    This seem to be related to the previous "abp suite uninstall" command not working properly and leaving files behind. See https://support.abp.io/QA/Questions/587/ABP-Suite-Issues

  • 0
    improwise created

    ABP Suite still generates faulty code for Blazor Server, I guess one of the templates are wrong. If it is possible to change this even before the release of 5.0, please tell as it breaks migrations etc currently from ABP Suite 5.0 RC 1.

    For created and update, await is missing, like

        private async Task CreateCompanyTypeAsync()
        {
            try
            {
                if (NewCompanyTypeValidations?.ValidateAll() == false)
                {
                    return;
                }
    
                await CompanyTypesAppService.CreateAsync(NewCompanyType);
                await GetCompanyTypesAsync();
                CreateCompanyTypeModal.Hide();
            }
            catch (Exception ex)
            {
                await HandleErrorAsync(ex);
            }
        }
    

    Should be if (await (NewCompanyTypeValidations?.ValidateAll()) == false) to compile.

    Can we change a template or something to make this work until fixed?

    Edit:

    Seems like it is this template that needs to be modified as above Frontend.Blazor.Page.Item.razor_cs.txt

  • 0
    albert created
    Support Team

    C:\Users\XXXX> abp suite install
    [13:08:29 INF] ABP CLI (https://abp.io)
    [13:08:29 INF] Version 5.0.0-rc.1 (Prerelease)
    [13:08:29 INF] Installing ABP Suite latest version...
    Failed to create shell shim for tool 'volo.abp.suite': Command 'abp-suite' conflicts with an existing command from another tool.
    Tool 'volo.abp.suite' failed to install.
    [13:08:33 INF] You can also run the following command to install ABP Suite.
    [13:08:33 INF] dotnet tool install -g Volo.Abp.Suite --add-source https://nuget.abp.io/<your-private-key>/v3/index.json

    This seem to be related to the previous "abp suite uninstall" command not working properly and leaving files behind. See https://support.abp.io/QA/Questions/587/ABP-Suite-Issues

    this is somehow related to donet tool commands because abp suite remove uses dotnet tool uninstall command. it sometimes leave files behind if some files of the tool is being used at that time. in that case I suggest to delete the following Suite folder from your computer.

    You need to replace X.X.X with your Suite version

    %UserProfile%\.dotnet\tools\.store\volo.abp.suite
    
  • 0
    improwise created

    C:\Users\XXXX> abp suite install
    [13:08:29 INF] ABP CLI (https://abp.io)
    [13:08:29 INF] Version 5.0.0-rc.1 (Prerelease)
    [13:08:29 INF] Installing ABP Suite latest version...
    Failed to create shell shim for tool 'volo.abp.suite': Command 'abp-suite' conflicts with an existing command from another tool.
    Tool 'volo.abp.suite' failed to install.
    [13:08:33 INF] You can also run the following command to install ABP Suite.
    [13:08:33 INF] dotnet tool install -g Volo.Abp.Suite --add-source https://nuget.abp.io/<your-private-key>/v3/index.json

    This seem to be related to the previous "abp suite uninstall" command not working properly and leaving files behind. See https://support.abp.io/QA/Questions/587/ABP-Suite-Issues

    this is somehow related to donet tool commands because abp suite remove uses dotnet tool uninstall command. it sometimes leave files behind if some files of the tool is being used at that time. in that case I suggest to delete the following Suite folder from your computer.

    You need to replace X.X.X with your Suite version

    %UserProfile%\.dotnet\tools\.store\volo.abp.suite 
    

    Yes, we were able to solve this the way I mentioned, perhaps could have been clearer about that.

  • 0
    albert created
    Support Team

    ABP Suite still generates faulty code for Blazor Server, I guess one of the templates are wrong. If it is possible to change this even before the release of 5.0, please tell as it breaks migrations etc currently from ABP Suite 5.0 RC 1.

    For created and update, await is missing, like

        private async Task CreateCompanyTypeAsync() 
        { 
            try 
            { 
                if (NewCompanyTypeValidations?.ValidateAll() == false) 
                { 
                    return; 
                } 
     
                await CompanyTypesAppService.CreateAsync(NewCompanyType); 
                await GetCompanyTypesAsync(); 
                CreateCompanyTypeModal.Hide(); 
            } 
            catch (Exception ex) 
            { 
                await HandleErrorAsync(ex); 
            } 
        } 
    

    Should be if (await (NewCompanyTypeValidations?.ValidateAll()) == false) to compile.

    Can we change a template or something to make this work until fixed?

    Edit:

    Seems like it is this template that needs to be modified as above Frontend.Blazor.Page.Item.razor_cs.txt

    this has been fixed in upcoming rc2 the reason, blazorise changed some of their API methods to async.

  • 0
    jkrause created

    Hi @albert,

    After updating Suite to RC2 I get this error:

    [12:00:50 ERR] Connection id "0HMDR0CIU98V0", Request id "0HMDR0CIU98V0:00000002": An unhandled exception was thrown by the application. Volo.Abp.AbpException: Could not find the bundle file '/libs/abp/core/abp.css' for the bundle 'Lepton.Global'!

    Seems the wwwroot folder is missing in the %USERPROFILE%\.dotnet\tools\.store\volo.abp.suite\5.0.0-rc.2\volo.abp.suite\5.0.0-rc.2\tools\net6.0\any folder? When I created that folder and copied the files from the %USERPROFILE%\.dotnet\tools\.store\volo.abp.suite\5.0.0-rc.2\volo.abp.suite\5.0.0-rc.2\staticwebassets\ to that location, it started up and was usable again.

    So either the staticwebassets are not being found, or the wwwroot is missing in the publish? (assumptions)

    Thanks.

  • 0
    improwise created

    Getting this after upgrading a RC1 solution to RC2

    System.TypeLoadException HResult=0x80131522 Message=Method 'DatePicker' in type 'Blazorise.Bootstrap5.BootstrapClassProvider' from assembly 'Blazorise.Bootstrap5, Version=0.9.5.0, Culture=neutral, PublicKeyToken=null' does not have an implementation. Source=Blazorise.Bootstrap5 StackTrace: at Blazorise.Bootstrap5.Config.AddBootstrap5Providers(IServiceCollection serviceCollection, Action`1 configureClassProvider) at MIBS.Blazor.MIBSBlazorModule.ConfigureBlazorise(ServiceConfigurationContext context) in M:\Projects\MinKredit\MIBSPOC\src\aspnet-core\src\MIBS.Blazor\MIBSBlazorModule.cs:line 274 at MIBS.Blazor.MIBSBlazorModule.ConfigureServices(ServiceConfigurationContext context) in M:\Projects\MinKredit\MIBSPOC\src\aspnet-core\src\MIBS.Blazor\MIBSBlazorModule.cs:line 114 at Volo.Abp.AbpApplicationBase.ConfigureServices()

    Solution seem to be to manually upgrade Blazor NuGet to latest version.

  • 0
    Emanuele.Filardo created
    • ABP Framework version: v5.0.0-rc2
    • UI type: Blazor
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): no
    • Exception message and stack trace: no
    • Steps to reproduce the issue:"generate page from ABP Suite (rc1 is lastest available now) wrong namespace" namespace RC2.Blazor.Pages%%<if:IsMicroservice>%%.RC2%%</if:IsMicroservice>%%
  • 1
    Emanuele.Filardo created
    • ABP Framework version: v5.0.0-rc2
    • UI type: Blazor
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): no
    • Exception message and stack trace: no
    • Steps to reproduce the issue:"generate page from ABP Suite (rc1 is lastest available now) autocomplete item.DisplayName null exception on edit modal"
    • looks like something else is changed in Blazorise
  • 0
    cellero created

    ABP Framework version: v5.0.0-rc2 UI type: Blazor Server DB provider: EF Core

    Frontend.Blazor.Page.Item.razor_cs.txt namespace %%solution-namespace%%.Blazor.Pages%%<if:IsModule>%%.%%only-project-name%%%%</if:IsModule>%%%%<if:IsMicroservice>%%.%%only-project-name%%%%</if:IsMicroservice>%%

    This text is being included in the file when creating a Blazor Page: %%<if:IsModule>%%.%%only-project-name%%%%</if:IsModule>%%%%<if:IsMicroservice>%%.%%only-project-name%%%%</if:IsMicroservice>%%

  • 0
    Emanuele.Filardo created
    • ABP Framework version: v5.0.0-rc2
    • UI type: Blazor
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): no
    • Exception message and stack trace: no
    • Steps to reproduce the issue:"generate page from ABP Suite (rc1 is lastest available now) wrong namespace"
      namespace RC2.Blazor.Pages%%<if:IsMicroservice>%%.RC2%%</if:IsMicroservice>%%

    ABP Suite RC2 solved this issue

  • 0
    albert created
    Support Team

    @jkrause For this problem

    Could not find the bundle file '/libs/abp/core/abp.css' for the bundle 'Lepton.Global'!
    

    you need to remove your Suite and re-install

    abp suite remove && abp suite install --preview
    
  • 2
    albert created
    Support Team
    • ABP Framework version: v5.0.0-rc2
    • UI type: Blazor
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): no
    • Exception message and stack trace: no
    • Steps to reproduce the issue:"generate page from ABP Suite (rc1 is lastest available now) autocomplete item.DisplayName null exception on edit modal"
    • looks like something else is changed in Blazorise

    We'll check this

  • 0
    Emanuele.Filardo created

    5.0.0-rc2 highlight of menu item with NavigationManager.NavigateTo()

    Those highlights menu item: /page /page?id=12345 /page?12345

    This doesn't work: /page/12345

  • 0
    berkansasmaz created
    Support Team

    https://support.abp.io/QA/Questions/2209#answer-2ff13a81-fdaf-5f46-f0da-3a00b902c975

    I could not reproduce this problem. Here are my steps:

    1.abp new BzTestApp -csf -d mongodb --preview -u blazor 2. I run BzTestApp.DbMigrator 3. I run abp suite command then create the Author entity and Book entity. Also, the Author entity has a Navigation property to the Book entity. I configured the navigation property as Required marked and UI pick type set to typehead.

    Here are the configuration files of my entities created by Suite:

    Then I run the app.

    PS: Both Suite and the app I created have version v5.0.0-rc.2

  • 0
    berkansasmaz created
    Support Team

    5.0.0-rc2 highlight of menu item with NavigationManager.NavigateTo()

    Those highlights menu item: /page /page?id=12345 /page?12345

    This doesn't work: /page/12345

    We generally solved the active menu item problem. But for now, it will not work on the following patterns:

    /users/{id} /catalog/dresses/{CATALOG_ID}

  • 0
    cellero created

    ABP Framework version: v5.0.0-rc2 UI type: Blazor Server DB provider: EF Core Steps to reproduce the issue:"generate entity with required navigation property when there are nullable / not required properties on the entity" The build fails because "Optional parameters must appear after all required parameters" If the required navigation property is moved above the nullable items in the Domain entity definition the the build is successful.

  • 0
    Emanuele.Filardo created

    ABP Framework version: v5.0.0-rc2 UI type: Blazor Still missed linked account in home page https://support.abp.io/QA/Questions/1543/Bugs--Issues-v44X#answer-c7d2c535-cb4a-2e75-7d4d-39fe3c9f14bd

    Home page

    My Account page

  • 0
    improwise created

    Newly created Blazor Server solution with ABP and ABP Suite 5.0 still won't build in VS2019, only in VS2022

    Severity Code Description Project File Line Suppression State Error CS1576 The line number specified for #line directive is missing or invalid MIBS.Blazor M:\P............\obj\Debug\net5.0\Razor\Components\Layout\MainFooterComponent.razor.g.cs 111 Active

    (Same problem as with 4.4.4)

    Edit: Apparently, ABP CLI 5.0 and ABP Suite 5.0 still creates solutions with 4.4.4 NuGets...

  • 0
    christophe.baille created

    After updating ABP suite and tool to 5.0.0, it still use the templates 4.4.4, it was like this while using 5-rc release too.

    I was then adding the version to select the RC one, but now I get an error message when I give the version 5.0.0. If I put version 5.0.0-rc.2 it still works fine

  • 0
    gvnuysal created

    Hi support,

    Can you add the user's first and last name to the abp commercial version?

    We use ANGULAR as the UI screen.

  • 0
    [email protected] created

    Hello

    Any guide on how to use the lepton x theme ? i have abp 5.0

  • 0
    jkrause created

    Adding a module to a freshly generated website using ABP Suite v5.0.0 (Stable) yields the following error:

    Error occurred while adding the module "Acme.Abp.Crm" to the solution "AcmeProject"...

    Could not find a class derived from AbpModule in the project '<path-to-project>/<project-name>.csproj'.

    This while there is a fully functional project and the AcmeAbpModule.cs file is located in the root of that location and is inheriting the AbpModule class, as it is a completely unmodified new project created by ABP Suite.

    In addition, despite the error, the module is created in the .\modules\Acme.Abo.Crm location, and the csproj file is modified to load it. However, upon inspecting the file, it assumes that the project can be referenced as a NuGet package with version 5.0.0 as the assumed version?

    In ABP Suite 5.0.0-rc.2 <ProjectReference Include="..\..\modules\Acme.Abp.Crm\src\Acme.Abp.Crm.Web\Acme.Abp.Crm.Web.csproj" />

    In ABP Suite 5.0.0 (Stable) <PackageReference Include="Acme.Abp.Crm.Web" Version="5.0.0" />

    This breaks all the generated code in the project and logically it will not compile anymore. What am I missing here? Maybe it's time for a reboot..

  • 0
    zhongfang created

    I created a module solution named Yee.EasyComment. Use 'dotnet build' to build all projects. Then I use 'dotnet pack' to build all nupkg packages. Then I push all packages to Nexus.

    I reference above module in an solution created by ABP Suite. When I start the project in Debug mode via VS 2022, I got below exception

    [13:30:33 INF] Starting web host.
    [13:30:34 FTL] Host terminated unexpectedly!
    System.IO.DirectoryNotFoundException: C:\Users\David\.nuget\packages\yee.easycomment.blazor\2021.12.913\staticwebassets\   at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters)
       at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root)
       at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.&lt;&gt;c.&lt;UseStaticWebAssetsCore&gt;b__1_0(String contentRoot)
       at Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider..ctor(StaticWebAssetManifest manifest, Func`2 fileProviderFactory)
       at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssetsCore(IWebHostEnvironment environment, Stream manifest)
       at Microsoft.AspNetCore.Hosting.StaticWebAssets.StaticWebAssetsLoader.UseStaticWebAssets(IWebHostEnvironment environment, IConfiguration configuration)
       at Microsoft.AspNetCore.WebHost.<>c.<ConfigureWebDefaults>b__9_0(WebHostBuilderContext ctx, IConfigurationBuilder cb)   at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass9_0.<ConfigureAppConfiguration>b__0(HostBuilderContext context, IConfigurationBuilder builder)
       at Microsoft.Extensions.Hosting.HostBuilder.BuildAppConfiguration()
       at Microsoft.Extensions.Hosting.HostBuilder.Build()
       at Yee.Change.Brain.Blazor.Program.Main(String[] args) in D:\dev\gitlab\brain\src\Yee.Change.Brain.Blazor\Program.cs:line 32
    
    D:\dev\gitlab\brain\src\Yee.Change.Brain.Blazor\bin\Debug\net6.0\Yee.Change.Brain.Blazor.exe (进程 36008)已退出,代码为 1。
    
  • 0
    albert created
    Support Team

    @christophe.baille I couldn't reproduce it. Can you try to login via CLI.

  • 0
    albert created
    Support Team

    @jkrause if you are trying use ABP v5.0 stable on a ABP v5.0 (RC) version it'll not work as expected. Suite and your ABP version must be the same.

  • 0
    albert created
    Support Team

    @zhongfang after .NET 6, Microsoft changed the dotnet pack command behaviour, you need to check this https://stackoverflow.com/questions/69500315/wwwroot-directory-is-not-copied-to-the-tools-net6-0-any-directory-in-a-nuget-pac

  • 0
    jkrause created

    @albert

    You misread my comment completely. I am showing you the before and after from using RC and then Stable. It changes the make-up of the csproj files by adding modules directly as NuGet packages instead of project references.

  • 0
    albert created
    Support Team

    @albert

    You misread my comment completely. I am showing you the before and after from using RC and then Stable. It changes the make-up of the csproj files by adding modules directly as NuGet packages instead of project references.

    ok we'll check it again

  • 0
    yekalkan created
    Support Team

    Hi @jkrause

    I've followed the commands below and didn't see any error.

    abp new Acme.BookStore -t app-pro

    abp add-module Acme.Abp.Crm -t module-pro --new


    Actually error with the package referencing is probably the result of the previous error (Could not find a class derived from AbpModule in the project '<path-to-project>/<project-name>.csproj').

    Which project that AbpModule couldn't be found in? web, application, domain etc? ('<path-to-project>/<project-name>.csproj')

  • 0
    Sturla created

    I needed (I think) to add the following web.config to the HttpApi.Host project to increase upload size with the following config

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    
      <!-- To customize the asp.net core module uncomment and edit the following section. 
      For more info see https://go.microsoft.com/fwlink/?linkid=838655 -->
      <!--
      <system.webServer>
        <handlers>
          <remove name="aspNetCore"/>
          <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
        </handlers>
        <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" />
      </system.webServer>
      -->
      <location path="Recording/recording-upload">
        <system.webServer>
          <security>
            <requestFiltering>
              <requestLimits maxAllowedContentLength="4096000" />
            </requestFiltering>
          </security>
        </system.webServer>
      </location>
    </configuration>
    

    And then I get this error when running the app with Azure Appservice

    2021-12-21 13:54:57.472 +00:00 [ERR] Connection ID "17509995361417066312", Request ID "80007749-0002-f300-b63f-84710c7967bb": An unhandled exception was thrown by the application.
    Volo.Abp.Http.Client.AbpRemoteCallException: Not Found
       at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.ThrowExceptionForResponseAsync(HttpResponseMessage response)
       at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(ClientProxyRequestContext requestContext)
       at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](ClientProxyRequestContext requestContext)
       at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments)
       at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync()
       at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.<GetAsync>b__14_0()
       at Volo.Abp.Caching.DistributedCache`2.GetOrAddAsync(TCacheKey key, Func`1 factory, Func`1 optionsFactory, Nullable`1 hideErrors, Boolean considerUow, CancellationToken token)
       at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetAsync()
       at Volo.Abp.AspNetCore.Mvc.Client.RemoteLanguageProvider.GetLanguagesAsync()
       at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync()
       at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next)
       at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
    --- End of stack trace from previous location ---
       at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync()
    

    I haven't tried to upload a bigger file than 30 MB but if that doesn´t work without the web.config file I´ll need some way to add it. But I´ll try that tomorrow.

  • 0
    albert created
    Support Team

    for the StaticWebAssets not found problem, I can say, Microsoft has changed the behavior of packing libraries, pls check these links

    • https://github.com/dotnet/aspnetcore/issues/38596
    • https://github.com/dotnet/aspnetcore/issues/21536
    • https://github.com/dotnet/aspnetcore/issues/37095
    • https://github.com/dotnet/aspnetcore/issues/36740
    • https://github.com/dotnet/aspnetcore/issues?q=is%3Aissue+StaticWebAssets+pack
  • 0
    trendline created

    The FileManagement module with abp ver 5.0.0, when download the uploaded file Access the download link "https://localhost:44302/api/file-management/file-descriptor/download/580dc21e-c971-1ab1-d7ad-3a00f84c15bc?token=4f18829e-f70b-4088-b039-333b705a08d8" it says unauthorized "{"error":{"code":"Unauthorized","message":"Unauthorized","details":null,"data":null,"validationErrors":null}}" But all the permissions already assigned for file management module.

    Can you help me figure out is there special permission for the download api?

  • 0
    [email protected] created

    Hello,

    Thanks for your great work Abp team.

    We have migrate from 4.3 to 5.0 and see a big style difference on button light.

    It's a normal change? The background is now gray and not changing on mouse over.

    On 4.3 :

    .btn-light {
        color: [#212529](https://support.abp.io/QA/Questions/212529);
        background-color: #f8f9fa;
        border-color: #f8f9fa;
    }
    

    On 5.0

    .btn-light {
        color: #000;
        background-color: #eee;
        border-color: #eee;
        box-shadow: 0px 0px 30px rgb(8 20 73 / 10%);
    }
    

    We can see an evolution on radio and checkbox too

    4.3

    5.0

    Lepton presentation website is ok (same as 4.3)

    Thanks for your help

    Nicolas

  • 0
    mc86 created

    abp suite in Load Entity From Database page ,get errors when connecting to database (approximate 2000 tables in the database) test connect is fine

  • 0
    Sturla created

    Suite is now forcing me to remove TenantId column in a none multitenant table (doesn´t inherit from IMultiTenant)!

    Invalid property names! You need to remove the following properties which are reserved properties and come with ABP base classes: TenantId

    The thing is I need that column (I'm currently using it) to know what tenant created the record in that table.

    The content is available for every other tenant on a central index page (showing stuff from all tenants) and then also used to display just what the individual tenant created on their subdomain page.

    Why do you need to restrict this?

    And what do you recommend here?

    1. Make all the entities IMulitTenant and disable the MulitTenant part where needed?
      1. If I do this and update all my repository method get tenantId removed from them so I can´t filter after tenantId...
    2. Change the column to TenantCreatorId (CreatedByTenantId) ?
  • 0
    Sturla created

    For some reason all my EF Core repository tests are failing (like https://github.com/abpframework/abp/issues/10822) with the following exception

    Volo.Abp.AbpInitializationException : An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Beinni.BeinniTestBaseModule, Beinni.TestBase, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null: String reference not set to an instance of a String. (Parameter 's'). See the inner exception for details.
    ---- System.ArgumentNullException : String reference not set to an instance of a String. (Parameter 's')
    

    And that is after I had to add the following code in TestBaseModule as recommended after I started getting SqliteConnection does not support nested transactions..

    Configure<AbpUnitOfWorkDefaultOptions>(options =>
    {
        options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled;
    });`
    
    

    I also tried this this approach but still this ""String reference.. " error.

    And its not this either.

    I have re-compared everything and there aren´t any changes in the test projects that I'm missing.

    Any ideas?

    The full stack trace is this

    Stack Trace:  ModuleManager.InitializeModules(ApplicationInitializationContext context) AbpApplicationBase.InitializeModules() AbpApplicationWithExternalServiceProvider.Initialize(IServiceProvider serviceProvider) AbpIntegratedTest1.ctor() BeinniTestBase1.ctor() BeinniEntityFrameworkCoreTestBase.ctor() BankInformationRepositoryTests.ctor() line 15 RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) ----- Inner Stack Trace ----- Encoding.GetBytes(String s) UserCustomerSyncronizer.Sign(String method, String urlPath, String salt, Int64 timestamp, String body) line 111 UserCustomerSyncronizer.MakeRequestAsync(Method method, String urlPath, String body) line 80 UserCustomerSyncronizer.HandleEventAsync(EntityCreatedEto1 eventData) line 42 EventBusBase.TriggerHandlerAsync(IEventHandlerFactory asyncHandlerFactory, Type eventType, Object eventData, List1 exceptions, InboxConfig inboxConfig) AbpExceptionExtensions.ReThrow(Exception exception) EventBusBase.ThrowOriginalExceptions(Type eventType, List1 exceptions) EventBusBase.TriggerHandlersAsync(Type eventType, Object eventData) LocalEventBus.PublishAsync(LocalEventMessage localEventMessage) LocalEventBus.PublishToEventBusAsync(Type eventType, Object eventData) EventBusBase.PublishAsync(Type eventType, Object eventData, Boolean onUnitOfWorkComplete) UnitOfWorkEventPublisher.PublishDistributedEventsAsync(IEnumerable1 distributedEvents) UnitOfWork.CompleteAsync(CancellationToken cancellationToken) UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation) CastleAsyncAbpInterceptorAdapter1.InterceptAsync(IInvocation invocation, IInvocationProceedInfo proceedInfo, Func3 proceed) &lt;&lt;SeedTestData&gt;b__0>d.MoveNext() line 62 --- End of stack trace from previous location --- TaskExtensions.WaitAndUnwrapException(Task task) &lt;&gt;c__DisplayClass15_0.&lt;Run&gt;b__0(Task t) ContinuationTaskFromTask.InnerInvoke() &lt;.cctor&gt;b__272_0(Object obj) ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- TaskExtensions.WaitAndUnwrapException(Task task) AsyncContext.Run(Func1 action) AsyncHelper.RunSync(Func1 action) BeinniTestBaseModule.SeedTestData(ApplicationInitializationContext context) line 58 BeinniTestBaseModule.OnApplicationInitialization(ApplicationInitializationContext context) line 53 OnApplicationInitializationModuleLifecycleContributor.Initialize(ApplicationInitializationContext context, IAbpModule module) ModuleManager.InitializeModules(ApplicationInitializationContext context)

  • 0
    murat.yuceer created

    Blazor-Server MongoDb

    After migrate security-log page not work, throw error I found problem, if BrowserInfo field is null in AbpSecurityLogs table/collection, page not load because of null reference exception.

  • 0
    vincent.goh created

    I found that requests for API endpoints timed out often in a Blazor WebAssembly application from a new ABP 5.0 microservice solution freshly-created using the latest ABP Suite. See below for error message & exception.

    An error occurred during the ABP remote HTTP request. (The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.) See the inner exception for details.Volo.Abp.Http.Client.AbpRemoteCallException: An error occurred during the ABP remote HTTP request. (The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.) See the inner exception for details.

    Timeout happens after I click around in the Blazor app to send some requests. After waiting for a while, it works again but timeout will happen again after a few more clicks. Is there some kind of rate limit, or is something not working right? This is a fresh new solution from ABP Suite.

  • 0
    [email protected] created

    Am using blazor server. .net 6.

    Blazorise Autocomplete component throws instance error when you try to create an a second record before refreshing the page.

    I.e when I have a list of cities page, I create the forest city, it saves well. When I try to create a second city it throws the error on opening the create modal

    Note, continent is a dropdown(auto complete component) the error is on the DisplayName (textfield)

  • 0
    miroslavs_teched created

    Hi,

    We're using Blazorise v0.9.5.3 (ABP framework v5, commercial) and noticed that the component DatePicker has the weekday labels shifted for one place to the left. So, instead of Mon, our first label is Tue.

    If you visit the DatePicker's official documentation, you'll notice that problem (Section DatePicker component, Basic example). https://blazorise.com/docs/components/date-picker

    Sorry for posting this question here, it seams that we're not allowed to post questions on the Blazorise support pages.

    Please advise, Regards

  • 0
    albert created
    Support Team

    After updating ABP suite and tool to 5.0.0, it still use the templates 4.4.4, it was like this while using 5-rc release too.

    I was then adding the version to select the RC one, but now I get an error message when I give the version 5.0.0. If I put version 5.0.0-rc.2 it still works fine

    Your ABP Suite and ABP project version must be the same because the Suite templates are compatible with the corresponding version.

  • 0
    albert created
    Support Team

    I needed (I think) to add the following web.config to the HttpApi.Host project to increase upload size with the following config

    <?xml version="1.0" encoding="utf-8"?> 
    <configuration> 
     
      <!-- To customize the asp.net core module uncomment and edit the following section.  
      For more info see https://go.microsoft.com/fwlink/?linkid=838655 --> 
      <!-- 
      <system.webServer> 
        <handlers> 
          <remove name="aspNetCore"/> 
          <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/> 
        </handlers> 
        <aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" /> 
      </system.webServer> 
      --> 
      <location path="Recording/recording-upload"> 
        <system.webServer> 
          <security> 
            <requestFiltering> 
              <requestLimits maxAllowedContentLength="4096000" /> 
            </requestFiltering> 
          </security> 
        </system.webServer> 
      </location> 
    </configuration> 
    

    And then I get this error when running the app with Azure Appservice

    2021-12-21 13:54:57.472 +00:00 [ERR] Connection ID "17509995361417066312", Request ID "80007749-0002-f300-b63f-84710c7967bb": An unhandled exception was thrown by the application. 
    Volo.Abp.Http.Client.AbpRemoteCallException: Not Found 
       at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.ThrowExceptionForResponseAsync(HttpResponseMessage response) 
       at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync(ClientProxyRequestContext requestContext) 
       at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](ClientProxyRequestContext requestContext) 
       at Volo.Abp.Http.Client.ClientProxying.ClientProxyBase`1.RequestAsync[T](String methodName, ClientProxyRequestTypeValue arguments) 
       at Volo.Abp.AspNetCore.Mvc.ApplicationConfigurations.ClientProxies.AbpApplicationConfigurationClientProxy.GetAsync() 
       at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.<GetAsync>b__14_0() 
       at Volo.Abp.Caching.DistributedCache`2.GetOrAddAsync(TCacheKey key, Func`1 factory, Func`1 optionsFactory, Nullable`1 hideErrors, Boolean considerUow, CancellationToken token) 
       at Volo.Abp.AspNetCore.Mvc.Client.MvcCachedApplicationConfigurationClient.GetAsync() 
       at Volo.Abp.AspNetCore.Mvc.Client.RemoteLanguageProvider.GetLanguagesAsync() 
       at Microsoft.AspNetCore.RequestLocalization.DefaultAbpRequestLocalizationOptionsProvider.GetLocalizationOptionsAsync() 
       at Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) 
       at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext() 
    --- End of stack trace from previous location --- 
       at Microsoft.AspNetCore.Server.IIS.Core.IISHttpContextOfT`1.ProcessRequestAsync() 
    

    I haven't tried to upload a bigger file than 30 MB but if that doesn´t work without the web.config file I´ll need some way to add it. But I´ll try that tomorrow.

    @Sturla did you fix the file upload problem for over 30mb? web.config is being used by IIS. If you are hosting on IIS, then you need to configure it via web.config

  • 0
    albert created
    Support Team

    Hello

    Any guide on how to use the lepton x theme ? i have abp 5.0

    @dicky you need to wait a little more. we are almost in the final commits

  • 0
    albert created
    Support Team

    Hi,

    We're using Blazorise v0.9.5.3 (ABP framework v5, commercial) and noticed that the component DatePicker has the weekday labels shifted for one place to the left. So, instead of Mon, our first label is Tue.

    If you visit the DatePicker's official documentation, you'll notice that problem (Section DatePicker component, Basic example). https://blazorise.com/docs/components/date-picker

    Sorry for posting this question here, it seams that we're not allowed to post questions on the Blazorise support pages.

    Please advise, Regards

    You can create an issue on his repo. See https://github.com/Megabit/Blazorise/issues/3274

  • 0
    Sturla created

    @Sturla did you fix the file upload problem for over 30mb? web.config is being used by IIS. If you are hosting on IIS, then you need to configure it via web.config

    I haven't had an opportunity to try it out yet but I will next week when I´ll be creating my production environment. I´m using Azure App Services and that uses IIS to host the application (and acts as a reverse proxy to Kestrel) if I´m not mistaken.

    I´ll report back here if this is still a problem.

  • 0
    beriniwlew created

    When you add the Forms module using Suite to a Blazor project, it does not render. It's missing vue.js.

  • 0
    [email protected] created

    HI,

    Am using blazor abp 5.0, my wcf client used to work with abp 4.4 but after moving to abp 5.0 I can no longer consume wcf services.

    Any known issue ?

  • 1
    [email protected] created

    Hello,

    We just added the payment module with abp suite to our project.

    Payment Plans page is ok but on open the Payment Requests page we have an js error

    on line : var service = volo.payment.admin.requests.paymentRequestAdmin;

    admin is not in volo.payment.

    Your help will be appreciated.

  • 0
    learnabp created

    when adding CmsKit to my solution i get the following error

    why is the gulp file missing?

  • 0
    mc86 created

    In ABP SUITE "Server.Entity.Entity.txt" TEMPLATE

       public %%entity-name%%(%%primary-key%% id, %**%constructor-parameters%%**)
            {
                Id = id;
    %%constructor-parameters-with-values%%
            }
    

    IF Entity has NavigationProperties and optional parameters, NavigationPropertie's primary key is at the end of parameters then get this error."CS1737: Optional parameters must appear after all required parameters."

  • 0
    EngincanV created
    Support Team

    when adding CmsKit to my solution i get the following error

    why is the gulp file missing?

    Removed gulp dependency from the MVC / Razor Pages UI in favor of abp install-libs command of the ABP CLI.

    https://blog.abp.io/abp/ABP-IO-Platform-5.0-RC-1-Has-Been-Released

  • 0
    EngincanV created
    Support Team

    In ABP SUITE "Server.Entity.Entity.txt" TEMPLATE

       public %%entity-name%%(%%primary-key%% id, %**%constructor-parameters%%**) 
            { 
                Id = id; 
    %%constructor-parameters-with-values%% 
            } 
    

    IF Entity has NavigationProperties and optional parameters, NavigationPropertie's primary key is at the end of parameters then get this error."CS1737: Optional parameters must appear after all required parameters."

    Thanks for reporting the issue. This is a known problem and we'll test and fix it asap.

  • 0
    EngincanV created
    Support Team

    Hello,

    We just added the payment module with abp suite to our project.

    Payment Plans page is ok but on open the Payment Requests page we have an js error

    on line :
    var service = volo.payment.admin.requests.paymentRequestAdmin;

    admin is not in volo.payment.

    Your help will be appreciated.

    Hi @[email protected], this problem is fixed and will be available in the next release.

  • 0
    [email protected] created

    HI,

    Am using blazor abp 5.0, my wcf client used to work with abp 4.4 but after moving to abp 5.0 I can no longer consume wcf services.

    Any known issue ?

    Sorted.

  • 0
    cellero created

    I see that 5.1.1 of both ABP and ABP Suite are released, but I don't see Lepton-X anywhere. Can you provide an update on the status of Lepton-X.

    I'm very keen to show Lepton-X to a customer.

    Thank you.

  • 0
    EngincanV created
    Support Team

    Hi @cellero, we're planning to release a beta version in the next weeks.

    One exciting news is about the LeptonX theme; We are working on making it available in MVC (Razor Pages) and Blazor UI options too (in addition to the Angular UI). We are also adding more components, layout options, demo pages, etc... We are planning to release a beta version in the next weeks. https://blog.abp.io/abp/ABP.IO-Platform-v5-1-Has-Been-Released

  • 0
    tldkhoa created

    I have a problem with abp suite 5.1.1 Entity Generator alway said [ERR] Index was out of range I Re-install, cleanup,... nothing help.

    The suite log:

    2022-01-14 13:19:01.975 +07:00 [INF] Route matched with {controller = "crudPageGenerator", action = "SaveAndGenerateEntity", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.NoContentResult] SaveAndGenerateEntityAsync(System.Guid, Volo.Abp.Suite.Models.EntityModel) on controller Volo.Abp.Suite.Controllers.CrudPageGeneratorController (Volo.Abp.Suite).
    2022-01-14 13:19:02.116 +07:00 [INF] 
    === ENTITY GENERATION STARTED === 
    * SOLUTION: CSM.ServiceRouting
    * ENTITY:{
      "Id": "18d0ecee-c901-4012-8f62-74aa388e9256",
      "Name": "Channel",
      "OriginalName": "Channel",
      "NamePlural": "Channels",
      "DatabaseTableName": "Channels",
      "Namespace": "Channels",
      "BaseClass": "Entity",
      "PrimaryKeyType": "Guid",
      "IsMultiTenant": false,
      "ShouldCreateUserInterface": true,
      "ShouldCreateBackend": true,
      "ShouldAddMigration": true,
      "ShouldUpdateDatabase": true,
      "CreateTests": true,
      "Properties": [
        {
          "Id": "6c2e9664-63b2-4dc5-9d80-ea7ae467917f",
          "Name": "Type",
          "Type": "enum",
          "EnumType": "ChannelType",
          "EnumNamespace": "CSM.ServiceRouting",
          "EnumAngularImport": "shared/enums/channel-type",
          "IsNullable": false,
          "IsRequired": false,
          "MinLength": null,
          "MaxLength": null,
          "SortOrder": 0,
          "SortType": 0,
          "Regex": "",
          "EmailValidation": false,
          "EnumValues": {
            "Email": null,
            "Message": null,
            "Telephone": null
          },
          "IsSelected": true
        },
        {
          "Id": "85ebf5b9-f626-4962-bf6b-1cb95a884b4d",
          "Name": "Name",
          "Type": "string",
          "EnumType": "",
          "EnumNamespace": "",
          "EnumAngularImport": "shared/enums",
          "IsNullable": false,
          "IsRequired": false,
          "MinLength": null,
          "MaxLength": null,
          "SortOrder": 0,
          "SortType": 0,
          "Regex": "",
          "EmailValidation": false,
          "EnumValues": null,
          "IsSelected": true
        }
      ],
      "NavigationProperties": [],
      "PhysicalFileName": "Channel.json"
    }
    
    2022-01-14 13:19:02.117 +07:00 [INF] 1/11 - EntityGenerateCommand started...
    2022-01-14 13:19:03.805 +07:00 [ERR] ---------- RemoteServiceErrorInfo ----------
    {
      "code": null,
      "message": "An internal error occurred during your request!",
      "details": null,
      "data": {},
      "validationErrors": null
    }
    
    2022-01-14 13:19:03.815 +07:00 [ERR] Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'startIndex')
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'startIndex')
       at System.Globalization.CompareInfo.IndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options)
       at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType)
       at System.String.IndexOf(String value, Int32 startIndex, StringComparison comparisonType)
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.F1AAu43krY(String  , String  , String  )
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.IBpAlr5Quy(String  , String  , Boolean  )
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.MYcAWPr5GZ(String  , String  , Boolean  , DatabaseProvider  )
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.yreAdjUhWH(String  , DatabaseProvider  )
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.cqSAJdEgpq()
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.ExecuteAsync(CrudPageCommandOptions options)
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options)
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution)
       at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity)
       at lambda_method2108(Closure , Object )
       at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeActionMethodAsync&gt;g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
    2022-01-14 13:19:03.847 +07:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
    
  • 0
    albert created
    Support Team

    I have a problem with abp suite 5.1.1 Entity Generator alway said [ERR] Index was out of range I Re-install, cleanup,... nothing help.

    The suite log:

    2022-01-14 13:19:01.975 +07:00 [INF] Route matched with {controller = "crudPageGenerator", action = "SaveAndGenerateEntity", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.NoContentResult] SaveAndGenerateEntityAsync(System.Guid, Volo.Abp.Suite.Models.EntityModel) on controller Volo.Abp.Suite.Controllers.CrudPageGeneratorController (Volo.Abp.Suite). 
    2022-01-14 13:19:02.116 +07:00 [INF]  
    === ENTITY GENERATION STARTED ===  
    * SOLUTION: CSM.ServiceRouting 
    * ENTITY:{ 
      "Id": "18d0ecee-c901-4012-8f62-74aa388e9256", 
      "Name": "Channel", 
      "OriginalName": "Channel", 
      "NamePlural": "Channels", 
      "DatabaseTableName": "Channels", 
      "Namespace": "Channels", 
      "BaseClass": "Entity", 
      "PrimaryKeyType": "Guid", 
      "IsMultiTenant": false, 
      "ShouldCreateUserInterface": true, 
      "ShouldCreateBackend": true, 
      "ShouldAddMigration": true, 
      "ShouldUpdateDatabase": true, 
      "CreateTests": true, 
      "Properties": [ 
        { 
          "Id": "6c2e9664-63b2-4dc5-9d80-ea7ae467917f", 
          "Name": "Type", 
          "Type": "enum", 
          "EnumType": "ChannelType", 
          "EnumNamespace": "CSM.ServiceRouting", 
          "EnumAngularImport": "shared/enums/channel-type", 
          "IsNullable": false, 
          "IsRequired": false, 
          "MinLength": null, 
          "MaxLength": null, 
          "SortOrder": 0, 
          "SortType": 0, 
          "Regex": "", 
          "EmailValidation": false, 
          "EnumValues": { 
            "Email": null, 
            "Message": null, 
            "Telephone": null 
          }, 
          "IsSelected": true 
        }, 
        { 
          "Id": "85ebf5b9-f626-4962-bf6b-1cb95a884b4d", 
          "Name": "Name", 
          "Type": "string", 
          "EnumType": "", 
          "EnumNamespace": "", 
          "EnumAngularImport": "shared/enums", 
          "IsNullable": false, 
          "IsRequired": false, 
          "MinLength": null, 
          "MaxLength": null, 
          "SortOrder": 0, 
          "SortType": 0, 
          "Regex": "", 
          "EmailValidation": false, 
          "EnumValues": null, 
          "IsSelected": true 
        } 
      ], 
      "NavigationProperties": [], 
      "PhysicalFileName": "Channel.json" 
    } 
     
    2022-01-14 13:19:02.117 +07:00 [INF] 1/11 - EntityGenerateCommand started... 
    2022-01-14 13:19:03.805 +07:00 [ERR] ---------- RemoteServiceErrorInfo ---------- 
    { 
      "code": null, 
      "message": "An internal error occurred during your request!", 
      "details": null, 
      "data": {}, 
      "validationErrors": null 
    } 
     
    2022-01-14 13:19:03.815 +07:00 [ERR] Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'startIndex') 
    System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'startIndex') 
       at System.Globalization.CompareInfo.IndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options) 
       at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType) 
       at System.String.IndexOf(String value, Int32 startIndex, StringComparison comparisonType) 
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.F1AAu43krY(String  , String  , String  ) 
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.IBpAlr5Quy(String  , String  , Boolean  ) 
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.MYcAWPr5GZ(String  , String  , Boolean  , DatabaseProvider  ) 
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.yreAdjUhWH(String  , DatabaseProvider  ) 
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.cqSAJdEgpq() 
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.ExecuteAsync(CrudPageCommandOptions options) 
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options) 
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution) 
       at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity) 
       at lambda_method2108(Closure , Object ) 
       at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeActionMethodAsync&gt;g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) 
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) 
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 
       at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 
    2022-01-14 13:19:03.847 +07:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. 
    

    this might be related to the file-scoped namespaces. we have created an internal issue and will be fixed 5.1.2

  • 0
    Sturla created

    I can´t seem to change default language to Icelandic (on 5.1.1 but I just haven´t tried changing before) EXCEPT by clicking on the flag on the page. Settings don´t seem to do anything

    Db settings

    Language table

    I have the file is.json

    And it looks like this

    And both my domain module and host have these

    I have gone through these

    • Rebooted Redis
    • Restarted every AppService
    • Cleared cookies and run in private mode
    • There are no errors anywhere

    Am I missing something or is this a bug?

  • 0
    Sturla created

    Suite should Camel case the namespace automatically when you create a new entity. Only when I hovered over the ? at the end it told me it needed to be Camel cased! This is a new in 5.1.1...

  • 0
    bqabani created

    (Abp : 5.1.1) (angular) (not separated identity )

    When I try to run generate proxy command on new project that has one custom module, I face this error:

    abp generate-proxy -t ng

    [16:49:56 INF] ABP CLI (https://abp.io) [16:49:57 INF] Version 5.1.1 (Stable) [16:49:58 WRN] Couldn't determinate version of "@abp/ng.schematics" package. An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID See ".....\AppData\Local\Temp\ng-C1btyE\angular-errors.log" for further details.

    angular-errors.log content is:

    [error] Error: NOT SUPPORTED: keyword "id", use "$id" for schema ID at Object.code (....\angular\[email protected]\core\node_modules\ajv\dist\vocabularies\core\id.js:6:15) at keywordCode (....\angular\[email protected]\core\node_modules\ajv\dist\compile\validate\index.js:454:13) at ....\angular\[email protected]\core\node_modules\ajv\dist\compile\validate\index.js:222:17 at CodeGen.code (....\angular\[email protected]\core\node_modules\ajv\dist\compile\codegen\index.js:439:13) at CodeGen.block (....\angular\[email protected]\core\node_modules\ajv\dist\compile\codegen\index.js:568:18) at iterateKeywords (....\angular\[email protected]\core\node_modules\ajv\dist\compile\validate\index.js:219:9) at groupKeywords (....\angular\[email protected]\core\node_modules\ajv\dist\compile\validate\index.js:208:13) at ....\angular\[email protected]\core\node_modules\ajv\dist\compile\validate\index.js:192:13 at CodeGen.code (....\angular\[email protected]\core\node_modules\ajv\dist\compile\codegen\index.js:439:13) at CodeGen.block (....\angular\[email protected]\core\node_modules\ajv\dist\compile\codegen\index.js:568:18)

  • 0
    bqabani created

    Another Issue: (Abp : 5.1.1) (angular) (not separated identity ) (SQL Server)

    When I add/change entities to a custom abp module. And then run migrator on the host project (EntityFrameworkCore) it did not generate migration script for changes (but it was working on previous versions, and it works on this version when I do changes to the host project, my issue is when I use the custom abp module)

    the generated migration is empty

  • 0
    ash.jackson created
    • ABP Framework version: v5.1.1
    • UI type: Angular
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): yes
    • Exception message and stack trace: [Error] ERROR – TypeError: value.replace is not a function. (In 'value.replace(/&/g, '&amp;')', 'value.replace' is undefined) TypeError: value.replace is not a function. (In 'value.replace(/&/g, '&amp;')', 'value.replace' is undefined)escapeHtmlChars — abp-ng.core.mjs:834(anonymous function) — abp-ng.theme.shared-extensions.mjs:588getContent — abp-ng.theme.shared-extensions.mjs:899(anonymous function) — abp-ng.theme.shared-extensions.mjs:923forEach — abp-utils.js:259(anonymous function) — abp-ng.theme.shared-extensions.mjs:921mapngOnChanges — abp-ng.theme.shared-extensions.mjs:920rememberChangeHistoryAndInvokeOnChangesHook — core.mjs:1491callHook — core.mjs:2528callHooks — core.mjs:2487executeCheckHooks — core.mjs:2419selectIndexInternal — core.mjs:8362ɵɵadvance — core.mjs:8351LanguagesComponent_Template — volo-abp.ng.language-management.mjs:356:861executeTemplate — core.mjs:9581refreshView — core.mjs:9447refreshComponent — core.mjs:10618refreshChildComponents — core.mjs:9243refreshView — core.mjs:9497refreshEmbeddedViews — core.mjs:10572refreshView — core.mjs:9471refreshComponent — core.mjs:10618refreshChildComponents — core.mjs:9243refreshView — core.mjs:9497refreshEmbeddedViews — core.mjs:10572refreshView — core.mjs:9471refreshComponent — core.mjs:10618refreshChildComponents — core.mjs:9243refreshView — core.mjs:9497refreshEmbeddedViews — core.mjs:10572refreshView — core.mjs:9471refreshComponent — core.mjs:10618refreshChildComponents — core.mjs:9243refreshView — core.mjs:9497refreshEmbeddedViews — core.mjs:10572refreshView — core.mjs:9471refreshEmbeddedViews — core.mjs:10572refreshView — core.mjs:9471refreshComponent — core.mjs:10618refreshChildComponents — core.mjs:9243refreshView — core.mjs:9497refreshComponent — core.mjs:10618refreshChildComponents — core.mjs:9243refreshView — core.mjs:9497renderComponentOrTemplate — core.mjs:9561tickRootContext — core.mjs:10792detectChangesInRootView — core.mjs:10817detectChanges — core.mjs:21389tick — core.mjs:26389(anonymous function) — core.mjs:26244onInvoke — core.mjs:25428run — zone.js:134next — core.mjs:26243next__tryOrUnsub — Subscriber.js:183next — Subscriber.js:122_next — Subscriber.js:72next — Subscriber.js:49next — Subject.js:39emit — core.mjs:22373checkStable — core.mjs:25350onLeave — core.mjs:25478onInvokeTask — core.mjs:25422runTask — zone.js:178invokeTask — zone.js:487invokeTask — zone.js:1600globalZoneAwareCallback — zone.js:1637 defaultErrorLogger (vendor.js:59990) handleError (vendor.js:60037) run (polyfills.js:4513) tick (vendor.js:79940) (anonymous function) (vendor.js:79785) onInvoke (vendor.js:78969) run (polyfills.js:4513) next (vendor.js:79784) next __tryOrUnsub (vendor.js:14170) next (vendor.js:14109) _next (vendor.js:14059) next (vendor.js:14036) next (vendor.js:13820) emit (vendor.js:75914) checkStable (vendor.js:78891) onLeave (vendor.js:79019) onInvokeTask (vendor.js:78963) runTask (polyfills.js:4557) invokeTask (polyfills.js:4866) invokeTask (polyfills.js:5979) globalZoneAwareCallback (polyfills.js:6016)
    • Steps to reproduce the issue: Generate new project template from ABP Suite, build & run.

    Hi There, I have just updated to v5.1.1 and generated a new commercial project template and get the error shown above when displaying any table. Only the 1st line of each table page displays and the rest are blank: To re-create this error, I simply created a blank start-up project from the ABP Suite. This error and the subsequent display issue occurs on all browsers on my machine (MacOS 12.1 Safari, FF & Chrome).

    UPDATE I have tried under windows as well as MacOS and the same issue occurs.

    RESOLVED Updating to 5.1.2 has resolved.

  • 0
    bqabani created

    I Created a new project (Abp : 5.1.1) (angular) (not separated identity ) (SQL Server) And added a new module (abp add-module CustomModule --new --add-to-solution-file) Then when I added a simple AppService and related Controller, When I run the project I get this error:

    Autofac.Core.DependencyResolutionException: 'An exception was thrown while activating Volo.Abp.IdentityServer.Grants.PersistedGrantStore -> Volo.Abp.ObjectMapping.DefaultObjectMapper1[[Volo.Abp.IdentityServer.AbpIdentityServerDomainModule, Volo.Abp.IdentityServer.Domain, Version=5.1.1.0, Culture=neutral, PublicKeyToken=null]] -> Volo.Abp.AutoMapper.AutoMapperAutoObjectMappingProvider1[[Volo.Abp.IdentityServer.AbpIdentityServerDomainModule, Volo.Abp.IdentityServer.Domain, Version=5.1.1.0, Culture=neutral, PublicKeyToken=null]] -> λ:Volo.Abp.AutoMapper.IMapperAccessor -> λ:Volo.Abp.AutoMapper.MapperAccessor.'

  • 0
    AlderCove created

    ABP Version 5.1.1

    • MVC with public website and tiered identity server
    • EF Core
    • Steps needed to reproduce the problem:
    1. Create a new MVC solution with abp suite
    2. Run migrations
    3. Run the app

    The profile picture does not seem to be working properly. It shows properly on the account page, but not in the web or public web applications. Doesn't make a difference if changing to Avatar/Gravatar or uploaded file, still shows:

    Error in the browser on get of the picture:

    With an Id that corresponds with the Admin user Id:

  • 0
    LW created

    ABP Framework version: v5.1.1

    UI type: Angular

    DB provider: EF Core

    Tiered (MVC) or Identity Server Separated (Angular): yes

    Problem: After the update from 4.3.0, our Angular client is refreshing the token every second. I assume this is not normal. Can we adjust the refresh interval somehow or is there a bug somewhere?

  • 0
    EngincanV created
    Support Team

    Hi @LW, please see https://support.abp.io/QA/Questions/2366/token-call-every-one-second#answer-47b89782-3816-2c1c-7224-3a013c724e1e.

  • 0
    [email protected] created

    ABP Version 5.1.2 Volo.Filemanagement can't build on linux system, because the path is badly formed

  • 0
    LinchArnold created

    Abp suite 5.1.2

    1. Use Abp Suite to create a new module
    2. build the solution
    3. add a new entity
    4. save and generate, the console shows errors: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'startIndex')
  • 0
    scottlmarx created

    ABP Suite 5.1.2 After upgrading trying to access audit logs getting the following error.

    [ERR] Invalid column name 'ImpersonatorTenantName'. Invalid column name 'ImpersonatorUserName'. Microsoft.Data.SqlClient.SqlException (0x80131904): Invalid column name 'ImpersonatorTenantName'. Invalid column name 'ImpersonatorUserName'. at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__188_0(Task`1 result)

  • 0
    Emanuele.Filardo created

    ABP Suite 5.1.2 After upgrading trying to access audit logs getting the following error.

    [ERR] Invalid column name 'ImpersonatorTenantName'. Invalid column name 'ImpersonatorUserName'. Microsoft.Data.SqlClient.SqlException (0x80131904): Invalid column name 'ImpersonatorTenantName'. Invalid column name 'ImpersonatorUserName'. at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__188_0(Task`1 result)

    You have to use add-migration and then run dbmigrator

  • 1
    scottlmarx created

    Yes and no luck. Still getting error.

  • 0
    korolei created

    Hi,

    Looks like in ABP 5.1.2 'ImpersonatorTenantName' & 'ImpersonatorUserName' properties was not removed from AbpAuditLogs entity, and it's causing following exception: Failed executing DbCommand (7ms) [Parameters=[@p0='?' (DbType = Guid), @p1='?' (Size = 96), @p2='?' (Size = 512), @p3='?' (Size = 64), @p4='?' (Size = 64), @p5='?' (Size = 128), @p6='?' (Size = 256), @p7='?' (Size = 40), @p8='?' (Size = 64), @p9='?' (Size = 4000), @p10='?' (DbType = Int32), @p11='?' (DbType = DateTime2), @p12='?' (Size = 4000), @p13='?' (Size = 16), @p14='?' (DbType = Int32), @p15='?' (DbType = Guid), @p16='?' (Size = 64), @p17='?' (DbType = Guid), @p18='?' (Size = 256), @p19='?' (DbType = Guid), @p20='?' (Size = 64), @p21='?' (Size = 256), @p22='?' (DbType = Guid), @p23='?' (Size = 256)], CommandType='Text', CommandTimeout='30'] SET NOCOUNT ON; INSERT INTO [AbpAuditLogs] ([Id], [ApplicationName], [BrowserInfo], [ClientId], [ClientIpAddress], [ClientName], [Comments], [ConcurrencyStamp], [CorrelationId], [Exceptions], [ExecutionDuration], [ExecutionTime], [ExtraProperties], [HttpMethod], [HttpStatusCode], [ImpersonatorTenantId], [ImpersonatorTenantName], [ImpersonatorUserId], [ImpersonatorUserName], [TenantId], [TenantName], [Url], [UserId], [UserName]) VALUES (@p0, @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14, @p15, @p16, @p17, @p18, @p19, @p20, @p21, @p22, @p23);

    Is it something we can fix on our side or you'll provide fix for this?

  • 0
    albert created
    Support Team

    @bqabani

    (Abp : 5.1.1) (angular) (not separated identity )

    When I try to run generate proxy command on new project that has one custom module, I face this error:

    abp generate-proxy -t ng

    [16:49:56 INF] ABP CLI (https://abp.io) [16:49:57 INF] Version 5.1.1 (Stable) [16:49:58 WRN] Couldn't determinate version of "@abp/ng.schematics" package. An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID See ".....\AppData\Local\Temp\ng-C1btyE\angular-errors.log" for further details.

    angular-errors.log content is:

    [error] Error: NOT SUPPORTED: keyword "id", use "$id" for schema ID at Object.code (....\angular\[email protected]\core\node_modules\ajv\dist\vocabularies\core\id.js:6:15) at keywordCode (....\angular\[email protected]\core\node_modules\ajv\dist\compile\validate\index.js:454:13) at ....\angular\[email protected]\core\node_modules\ajv\dist\compile\validate\index.js:222:17 at CodeGen.code (....\angular\[email protected]\core\node_modules\ajv\dist\compile\codegen\index.js:439:13) at CodeGen.block (....\angular\n[email protected]\core\node_modules\ajv\dist\compile\codegen\index.js:568:18) at iterateKeywords (....\angular\[email protected]\core\node_modules\ajv\dist\compile\validate\index.js:219:9) at groupKeywords (....\angular\[email protected]\core\node_modules\ajv\dist\compile\validate\index.js:208:13) at ....\angular\[email protected]\core\node_modules\ajv\dist\compile\validate\index.js:192:13 at CodeGen.code (....\angular\[email protected]\core\node_modules\ajv\dist\compile\codegen\index.js:439:13) at CodeGen.block (....\angular\[email protected]\core\node_modules\ajv\dist\compile\codegen\index.js:568:18)

    created an internal issue to reproduce and fix. if we cannot reproduce we'll ask for extra help. (issue: 8960)

  • 0
    albert created
    Support Team

    @aldercove

    ABP Version 5.1.1

    • MVC with public website and tiered identity server
    • EF Core
    • Steps needed to reproduce the problem:
    1. Create a new MVC solution with abp suite
    2. Run migrations
    3. Run the app

    The profile picture does not seem to be working properly. It shows properly on the account page, but not in the web or public web applications. Doesn't make a difference if changing to Avatar/Gravatar or uploaded file, still shows:

    Error in the browser on get of the picture:

    With an Id that corresponds with the Admin user Id:

    created an internal issue to repro and fix. moved to https://support.abp.io/QA/Questions/2444/Issues-with-Adding-New-Custom-Module-to-New-Project-5XX-Issue (issue: 8961)

  • 0
    improwise created

    After upgrading from ABP 5.0 to 5.1.2.

    AbpException: Could not find the bundle file '/libs/@fortawesome/fontawesome-free/css/all.css' for the bundle 'Blazor.LeptonTheme.Global'!

    Also tried updating Blazorise to latest version but to no avail.

    Also, ABPs websites are painfully slow right now, including the supportsite.


    Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List<BundleTagHelperItem> bundleItems, string bundleName) Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpBundleTagHelperService<TTagHelper, TService>.ProcessAsync(TagHelperContext context, TagHelperOutput output) Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, int i, int count) MIBS.Blazor.Pages.Pages__Host.<ExecuteAsync>b__17_0() in _Host.cshtml + <abp-style-bundle name="@BlazorLeptonThemeBundles.Styles.Global" /> Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperExecutionContext.SetOutputContentAsync() MIBS.Blazor.Pages.Pages__Host.ExecuteAsync() in _Host.cshtml + <html lang="@CultureInfo.CurrentCulture.Name" dir="@rtl"> Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageCoreAsync(IRazorPage page, ViewContext context) Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderPageAsync(IRazorPage page, ViewContext context, bool invokeViewStarts) Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context) Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, string contentType, Nullable<int> statusCode) Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, string contentType, Nullable<int> statusCode) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0<TFilter, TFilterAsync>(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext<TFilter, TFilterAsync>(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeResultFilters>g__Awaited|28_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) Volo.Abp.AspNetCore.Serilog.AbpSerilogMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Volo.Abp.AspNetCore.Auditing.AbpAuditingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) IdentityServer4.Hosting.IdentityServerMiddleware.Invoke(HttpContext context, IEndpointRouter router, IUserSession session, IEventService events, IBackChannelLogoutService backChannelLogoutService) IdentityServer4.Hosting.MutualTlsEndpointMiddleware.Invoke(HttpContext context, IAuthenticationSchemeProvider schemes) Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) IdentityServer4.Hosting.BaseUrlMiddleware.Invoke(HttpContext context) Volo.Abp.AspNetCore.Uow.AbpUnitOfWorkMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Volo.Abp.AspNetCore.ExceptionHandling.AbpExceptionHandlingMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Volo.Abp.AspNetCore.MultiTenancy.MultiTenancyMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Microsoft.AspNetCore.Builder.ApplicationBuilderAbpJwtTokenMiddlewareExtension+<>c__DisplayClass0_0+<<UseJwtTokenMiddleware>b__0>d.MoveNext() Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) Volo.Abp.AspNetCore.Tracing.AbpCorrelationIdMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) Microsoft.AspNetCore.RequestLocalization.AbpRequestLocalizationMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) Microsoft.AspNetCore.Builder.UseMiddlewareExtensions+<>c__DisplayClass6_1+<<UseMiddlewareInterface>b__1>d.MoveNext() Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

  • 0
    improwise created

    After upgrading from ABP 5.0 to 5.1.2.

    AbpException: Could not find the bundle file '/libs/@fortawesome/fontawesome-free/css/all.css' for the bundle 'Blazor.LeptonTheme.Global'!

    Also tried updating Blazorise to latest version but to no avail.

    Also, ABPs websites are painfully slow right now, including the supportsite.


    Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpTagHelperResourceService.ProcessAsync(ViewContext viewContext, TagHelper tagHelper, TagHelperContext context, TagHelperOutput output, List<BundleTagHelperItem> bundleItems, string bundleName) Volo.Abp.AspNetCore.Mvc.UI.Bundling.TagHelpers.AbpBundleTagHelperService<TTagHelper, TService>.ProcessAsync(TagHelperContext context, TagHelperOutput output) Microsoft.AspNetCore.Razor.Runtime.TagHelpers.TagHelperRunner.<RunAsync>g__Awaited|0_0(Task task, TagHelperExecutionContext executionContext, int i, int count) MIBS.Blazor.Pages.Pages__Host.<ExecuteAsync>b__17_0() in _Host.cshtml + ...

    Seems like this is a problem with ABP Suite, when updating ABP packages through it, it decided for an unknown reason to simply delete wwwroot/libs and some other folders. Using "abp update" instead seemed to work.

  • 0
    albert created
    Support Team

    I Created a new project (Abp : 5.1.1) (angular) (not separated identity ) (SQL Server) And added a new module (abp add-module CustomModule --new --add-to-solution-file) Then when I added a simple AppService and related Controller,
    When I run the project I get this error:

    Autofac.Core.DependencyResolutionException: 'An exception was thrown while activating Volo.Abp.IdentityServer.Grants.PersistedGrantStore -> Volo.Abp.ObjectMapping.DefaultObjectMapper1[[Volo.Abp.IdentityServer.AbpIdentityServerDomainModule, Volo.Abp.IdentityServer.Domain, Version=5.1.1.0, Culture=neutral, PublicKeyToken=null]] -> Volo.Abp.AutoMapper.AutoMapperAutoObjectMappingProvider1[[Volo.Abp.IdentityServer.AbpIdentityServerDomainModule, Volo.Abp.IdentityServer.Domain, Version=5.1.1.0, Culture=neutral, PublicKeyToken=null]] -> λ:Volo.Abp.AutoMapper.IMapperAccessor -> λ:Volo.Abp.AutoMapper.MapperAccessor.'

    5.1.1 had a problem adding a module. upgrade to 5.1.2...

  • 0
    improwise created

    ABP Suite 5.1.2
    After upgrading trying to access audit logs getting the following error.

    [ERR] Invalid column name 'ImpersonatorTenantName'.
    Invalid column name 'ImpersonatorUserName'.
    Microsoft.Data.SqlClient.SqlException (0x80131904): Invalid column name 'ImpersonatorTenantName'.
    Invalid column name 'ImpersonatorUserName'.
    at Microsoft.Data.SqlClient.SqlCommand.<>c.<ExecuteDbDataReaderAsync>b__188_0(Task`1 result)

    You have to use add-migration and then run dbmigrator

    Can confirm I had the same problem and this solution worked fine.

  • 0
    [email protected] created

    Can not create new solution with abp CLI 5.1.2

  • 0
    [email protected] created

    Hello,

    We have just migrate from Abp 5.0.0 to 5.1.2

    And we have errors on a azure pipeline build. No error in local (with delete all caches)

    We have tested on a new app generate on abp 5.1.2 from abp suite. Build on local no error, build on azure pipeline we have errors. The same test on abp 5.0.0 no errors.

    Thanks for your help.

    /home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/JureezDomainSharedModule.cs(7,16): error CS0234: The type or namespace name 'LanguageManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/Jureez.Domain.Shared.csproj]
    
    /home/vsts/work/1/s/aspnet-core/modules/Volo.Account.Pro/src/Volo.Abp.Account.Pro.Shared.Application.Contracts/Volo/Abp/Account/AbpAccountSharedApplicationContractsModule.cs(13,12): error CS0246: The type or namespace name 'AbpIdentityApplicationContractsModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/aspnet-core/modules/Volo.Account.Pro/src/Volo.Abp.Account.Pro.Shared.Application.Contracts/Volo.Abp.Account.Pro.Shared.Application.Contracts.csproj]
    
    /home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/JureezDomainSharedModule.cs(8,16): error CS0234: The type or namespace name 'LeptonTheme' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/Jureez.Domain.Shared.csproj]
    
    /home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/JureezDomainSharedModule.cs(15,16): error CS0234: The type or namespace name 'TextTemplateManagement' does not exist in the namespace 'Volo.Abp' (are you missing an assembly reference?) [/home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/Jureez.Domain.Shared.csproj]
    
    /home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/JureezDomainSharedModule.cs(17,12): error CS0234: The type or namespace name 'Saas' does not exist in the namespace 'Volo' (are you missing an assembly reference?) [/home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/Jureez.Domain.Shared.csproj]
    
    /home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/JureezDomainSharedModule.cs(27,12): error CS0246: The type or namespace name 'AbpIdentityProDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/Jureez.Domain.Shared.csproj]
    
    /home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/JureezDomainSharedModule.cs(31,12): error CS0246: The type or namespace name 'LanguageManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/Jureez.Domain.Shared.csproj]
    
    /home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/JureezDomainSharedModule.cs(32,12): error CS0246: The type or namespace name 'SaasDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/Jureez.Domain.Shared.csproj]
    /home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/JureezDomainSharedModule.cs(33,12): error CS0246: The type or namespace name 'TextTemplateManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/Jureez.Domain.Shared.csproj]
    
    /home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/JureezDomainSharedModule.cs(34,12): error CS0246: The type or namespace name 'LeptonThemeManagementDomainSharedModule' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/aspnet-core/src/Jureez.Domain.Shared/Jureez.Domain.Shared.csproj]
     
    
  • 0
    sanghel-payoff created

    I'm not sure if posting in this thread is "required" for issues with ABP 5+, but I'm requesting here also some feedback for this other support question related with the 5.1.2 version, question that hasn't received any feedback in 2 days...

  • 0
    ash.jackson created

    ABP Suite 5.1.3

    When generating an entity which has a field type of enum, if the enum file containers comments the entity generation fails with this message:

    Cannot populate enum localizations! Error code: EN0005. System.ArgumentException: An item with the same key has already been added. Key: Enum:ECarrier:1 at System.Collections.Generic.Dictionary`2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.FIZHim7T11()
    

    The enum file used in this example:

    public enum ECarrier
    {
        
        Custom = 1,
        
        // Postal:
        RoyalMail = 100000,
        
        // Carrier:
        Dhl = 200000,
        Dpd = 201000,
        Yodel = 202000
    }
    

    Kind Regards, AJ.

  • 0
    yekalkan created
    Support Team

    Hi @ash.jackson,

    I've created an internal issue about that. Thanks you for your feedback.

  • 0
    Emanuele.Filardo created

    Hi, with ABP Suite 5.1.3 "Update all package" update solution to 5.1.2 CLI abp suite instead update solution to 5.1.3

  • 0
    dkaczor created

    In angular template the validation messages are not displayed. I created completely new application using abp suite. When I open user creation form and type invalid values into the fields, the save button is disabled but no validation message is displayed. I use version 5.1.3.

  • 0
    Sturla created

    I started to get this error periodically sometime after updating to 5.x (can´t remember when it started exactly)

    TypeError:Failed to fetch

    This is just something that happens randomly (both locally and on Azure) and if I navigate from the page and to it again it is fixed so there is no way to replicate it... so no steps to reproduce at my end.

    And the error message says "See the inner exception for details"... there is nothing more... but next time it happens I will add the more screenshots to show that.

    But I was wondering if this could be connected to dynamic proxies because sometimes when I run locally the Swagger UI doesn´t display any of my methods and just the abp.io´s ones. When that happens I need to turn off VS and rerun everything for it to pop in again. Would using static proxies fix that issue?

    p.s I had created an issue for this here but asked to discuss it here.

    ABP Framework version. 5.13, Blazor WASM, EF Core

  • 0
    jhsanc created
    • ABP Framework version: v5.0.0-rc2
    • UI type: Blazor
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): no
    • Exception message and stack trace: no
    • Steps to reproduce the issue:"generate page from ABP Suite (rc1 is lastest available now) autocomplete item.DisplayName null exception on edit modal"
    • looks like something else is changed in Blazorise

    We'll check this

    This problem have a solution?, I'm having the same problem.

  • 0
    yekalkan created
    Support Team

    @jhsanc

    See https://github.com/abpframework/abp/issues/11505#issuecomment-1039854226