Ends in:
7 DAYS
18 HRS
15 MIN
7 SEC
Ends in:
7 D
18 H
15 M
7 S
Open Closed

Bugs & Issues v4.2.X #807


User avatar
0
alper created
Support Team Director

To update your version to the latest (v4.2) for both ABP CLI and ABP Suite run the following command

dotnet tool update -g Volo.Abp.Cli && abp suite update

v4.2 Preview Version Notes https://blog.abp.io/abp/ABP-IO-Platform-v4-2-RC-Has-Been-Released

v4.2 Final Version Notes https://blog.abp.io/abp/ABP.IO-Platform-4-2-Final-Has-Been-Released


94 Answer(s)
  • User Avatar
    0
    gvnuysal created

    Hi @alper,

    1. I create a property as in picture 1. I fill in the max and min fields. After registering, I update again and delete the max min fields. After click save button,ı get an error.

    2. How to create an entity with navigation property only?

    {
    b.ToTable(ArgeConsts.DbTablePrefix + "Notes", ArgeConsts.DbSchema);
    b.ConfigureByConvention();
    b.Property(x => x.Title).HasColumnName(nameof(Note.Title));
    
                b.HasOne<AppUser>().WithMany().HasForeignKey(x => x.AppUserId).IsRequired();
            });
    

    The navigation property that we created with suite does not create foreign keys in sql tables. We make the above arrangement to create a foreign key. Then we get the following error, while migrating.

    b.HasOne <AppUser> () .WithMany (). HasForeignKey (x => x.AppUserId) .IsRequired (); If we create a migraiton without writing above the code, there is no problem.

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @gvnuysal,

    First issue (editing min-max length fields) will be fixed in stable 4.2.0 version. Thanks you for reporting.

    How to create an entity with navigation property only?

    At least one basic property is required to generate CRUD page.

  • User Avatar
    0
    gvnuysal created

    Hi,

    Min value and Max value are decimal fields in db.(we created with abp-suite)

    decimal field accepts number e. But the phrase required field does not go away.

  • User Avatar
    0
    murat.yuceer created

    Hello, I created project with microservice template This is my startup settings

    But when i open blazor (admin) site, i couldnt see sas, language etc.. menu just identity..

  • User Avatar
    0
    edelivery created
    • ABP Framework version: v4.2.0
    • UI type: Angular
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Seperated (Angular): yes
    • Exception message and stack trace:
    • Steps to reproduce the issue: When I set menu placement to top. My navigationbar is not show child element when click but when i set menu placement to left it's work fine
  • User Avatar
    0
    alper created
    Support Team Director

    @gvnuysal can you write your project type for the decimal value issue ?

  • User Avatar
    0
    alper created
    Support Team Director

    @murat.yuceer, in Microservice template, you must grant permission manually to the admin role.

  • User Avatar
    0
    alper created
    Support Team Director

    @edelivery top menu isse has been reproduced and just fixed. next week there's a plan for patch release v4.2.1. this and other reported issues will be fixed in that version.

  • User Avatar
    0
    scott7106 created

    I am not sure whether to report this under 4.2 or 4.1. I just generated a new project using Suite. My ABP CLI and Suite are version 4.1.2. After creating a new tiered MVC project, I am getting a bunch of errors about missing Volo.CmsKit.Pro* packages.

    Severity Code Description Project File Line Suppression State Error NU1101 Unable to find package Volo.CmsKit.Pro.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, Microsoft Visual Studio Offline Packages, nuget.org, OtisEd NuGet Source IronGlass.HttpApi C:\AppDev\IronGlass\IronGlass\aspnet-core\src\IronGlass.HttpApi\IronGlass.HttpApi.csproj 1

    Here is an excerpt from the *.Domain csproj file. <ItemGroup> <PackageReference Include="Volo.Abp.Emailing" Version="4.2.0" /> <PackageReference Include="Volo.Abp.Identity.Domain" Version="4.2.0" /> <PackageReference Include="Volo.Abp.PermissionManagement.Domain.Identity" Version="4.2.0" /> <PackageReference Include="Volo.Abp.IdentityServer.Domain" Version="4.2.0" /> <PackageReference Include="Volo.Abp.PermissionManagement.Domain.IdentityServer" Version="4.2.0" /> <PackageReference Include="Volo.Abp.BackgroundJobs.Domain" Version="4.2.0" /> <PackageReference Include="Volo.Abp.AuditLogging.Domain" Version="4.2.0" /> <PackageReference Include="Volo.Abp.FeatureManagement.Domain" Version="4.2.0" /> <PackageReference Include="Volo.Abp.SettingManagement.Domain" Version="4.2.0" /> <PackageReference Include="Volo.Abp.BlobStoring.Database.Domain" Version="4.2.0" /> <PackageReference Include="Volo.Abp.LanguageManagement.Domain" Version="4.2.0" /> <PackageReference Include="Volo.Abp.LeptonTheme.Management.Domain" Version="4.2.0" /> <PackageReference Include="Volo.Saas.Domain" Version="4.2.0" /> <PackageReference Include="Volo.Abp.TextTemplateManagement.Domain" Version="4.2.0" /> <!-- <TEMPLATE-REMOVE IF-NOT='CMS-KIT'> --> <PackageReference Include="Volo.CmsKit.Pro.Domain" Version="4.2.0" /> <!-- </TEMPLATE-REMOVE> --> </ItemGroup>

    Beyond the obvious issues. Why does Sutie v4.1 generate a project with 4.2 references?

  • User Avatar
    0
    anthonyh created
    • ABP Framework version: v4.2.0
    • UI type: Blazor
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Seperated (Angular): no
    • Exception message and stack trace:
    • Steps to reproduce the issue:

    I created an application with Blazor UI using this CLI command without any problem: abp new BlazorMainApp -t app-pro -u blazor -dbms PostgreSQL

    But when I tried to add a module to this main application, using the CLI command: abp add-module BlazorModule --new --add-to-solution-file -t module-pro

    It failed and I got these error messages:

    PS C:\Users\Anthony\source\repos\AbpBlazor> abp add-module BlazorModule --new --add-to-solution-file -t module-pro      [13:54:30 INF] ABP CLI (https://abp.io)
    [13:54:30 INF] Version 4.2.0 (Stable)
    [13:54:32 INF] Installing module 'BlazorModule' to the solution 'BlazorMainApp'
    [13:54:32 INF] Installing 'BlazorModule.Application' package to the project 'BlazorMainApp.Application'...
    [13:54:32 INF] Successfully installed.
    [13:54:32 INF] Installing 'BlazorModule.Application.Contracts' package to the project 'BlazorMainApp.Application.Contracts'...
    [13:54:32 INF] Successfully installed.
    [13:54:32 INF] Installing 'BlazorModule.Blazor' package to the project 'BlazorMainApp.Blazor'...
    Building....:  (1/1)C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\BlazorMainApp.Blazor.csproj
    Executing...: dotnet build C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\BlazorMainApp.Blazor.csproj
    Microsoft (R) Build Engine version 16.8.0+126527ff1 for .NET
    Copyright (C) Microsoft Corporation. All rights reserved.
    
      Determining projects to restore...
    C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Application.Contracts\BlazorMainApp.Application.Contracts.csproj : error NU1101: Unable to find package BlazorModule.Application.Contracts. No packages exist with this id in source(s): ABP Commercial NuGet Source, ABP Nightly, BlazoriseMyGet, DevExpress, Microsoft Visual Studio Offline Packages, nuget.org [C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\BlazorMainApp.Blazor.csproj]
      Failed to restore C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Application.Contracts\BlazorMainApp.Application.Contracts.csproj (in 2.62 sec).
    C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.HttpApi.Client\BlazorMainApp.HttpApi.Client.csproj : error NU1101: Unable to find package BlazorModule.Application.Contracts. No packages exist with this id in source(s): ABP Commercial NuGet Source, ABP Nightly, BlazoriseMyGet, DevExpress, Microsoft Visual Studio Offline Packages, nuget.org [C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\BlazorMainApp.Blazor.csproj]
      Failed to restore C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.HttpApi.Client\BlazorMainApp.HttpApi.Client.csproj (in 2.98 sec).
    C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\BlazorMainApp.Blazor.csproj : error NU1101: Unable to find package BlazorModule.Blazor. No packages exist with this id in source(s): ABP Commercial NuGet Source, ABP Nightly, BlazoriseMyGet, DevExpress, Microsoft Visual Studio Offline Packages, nuget.org
    C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\BlazorMainApp.Blazor.csproj : error NU1101: Unable to find package BlazorModule.Application.Contracts. No packages exist with this id in source(s): ABP Commercial NuGet Source, ABP Nightly, BlazoriseMyGet, DevExpress, Microsoft Visual Studio Offline Packages, nuget.org
      Failed to restore C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\BlazorMainApp.Blazor.csproj (in 6.75 sec).
      1 of 4 projects are up-to-date for restore.
    
    Build FAILED.
    
    C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Application.Contracts\BlazorMainApp.Application.Contracts.csproj : error NU1101: Unable to find package BlazorModule.Application.Contracts. No packages exist with this id in source(s): ABP Commercial NuGet Source, ABP Nightly, BlazoriseMyGet, DevExpress, Microsoft Visual Studio Offline Packages, nuget.org [C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\BlazorMainApp.Blazor.csproj]
    C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.HttpApi.Client\BlazorMainApp.HttpApi.Client.csproj : error NU1101: Unable to find package BlazorModule.Application.Contracts. No packages exist with this id in source(s): ABP Commercial NuGet Source, ABP Nightly, BlazoriseMyGet, DevExpress, Microsoft Visual Studio Offline Packages, nuget.org [C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\BlazorMainApp.Blazor.csproj]
    C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\BlazorMainApp.Blazor.csproj : error NU1101: Unable to find package BlazorModule.Blazor. No packages exist with this id in source(s): ABP Commercial NuGet Source, ABP Nightly, BlazoriseMyGet, DevExpress, Microsoft Visual Studio Offline Packages, nuget.org
    C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\BlazorMainApp.Blazor.csproj : error NU1101: Unable to find package BlazorModule.Application.Contracts. No packages exist with this id in source(s): ABP Commercial NuGet Source, ABP Nightly, BlazoriseMyGet, DevExpress, Microsoft Visual Studio Offline Packages, nuget.org
        0 Warning(s)
        4 Error(s)
    
    Time Elapsed 00:00:07.60
    Build failed for :C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\BlazorMainApp.Blazor.csproj
    System.Exception: Build failed!
       at Volo.Abp.Cli.Build.DefaultDotNetProjectBuilder.BuildInternal(DotNetProjectInfo project, String arguments, ConcurrentBag`1 builtProjects) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Build\DefaultDotNetProjectBuilder.cs:line 85
       at Volo.Abp.Cli.Build.DefaultDotNetProjectBuilder.BuildProjects(List`1 projects, String arguments) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Build\DefaultDotNetProjectBuilder.cs:line 34
    [13:54:40 ERR] Could not load file or assembly 'C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\bin\Debug\net5.0\wwwroot\_framework\BlazorMainApp.Blazor.dll'. The system cannot find the path specified.
    System.IO.FileNotFoundException: Could not load file or assembly 'C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\bin\Debug\net5.0\wwwroot\_framework\BlazorMainApp.Blazor.dll'. The system cannot find the path specified.
    File name: 'C:\Users\Anthony\source\repos\AbpBlazor\src\BlazorMainApp.Blazor\bin\Debug\net5.0\wwwroot\_framework\BlazorMainApp.Blazor.dll'
       at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
       at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
       at System.Reflection.Assembly.LoadFrom(String assemblyFile)
       at Volo.Abp.Cli.Bundling.BundlingService.GetStartupModule(String assemblyPath) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlingService.cs:line 272
       at Volo.Abp.Cli.Bundling.BundlingService.BundleAsync(String directory, Boolean forceBuild) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Bundling\BundlingService.cs:line 64
       at Volo.Abp.Cli.Commands.BundleCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\BundleCommand.cs:line 43
       at Volo.Abp.Cli.ProjectModification.ProjectNugetPackageAdder.RunBundleForBlazorAsync(String projectFile) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\ProjectNugetPackageAdder.cs:line 204
       at Volo.Abp.Cli.ProjectModification.ProjectNugetPackageAdder.AddAsync(String projectFile, NugetPackageInfo package, String version, Boolean useDotnetCliToInstall) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\ProjectNugetPackageAdder.cs:line 106
       at Volo.Abp.Cli.ProjectModification.SolutionModuleAdder.AddNugetAndNpmReferences(ModuleWithMastersInfo module, String[] projectFiles, Boolean useDotnetCliToInstall) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\SolutionModuleAdder.cs:line 421
       at Volo.Abp.Cli.ProjectModification.SolutionModuleAdder.AddAsync(String solutionFile, String moduleName, String startupProject, String version, Boolean skipDbMigrations, Boolean withSourceCode, Boolean addSourceCodeToSolutionFile, Boolean newTemplate, Boolean newProTemplate) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\SolutionModuleAdder.cs:line 95
       at Volo.Abp.Cli.Commands.AddModuleCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\AddModuleCommand.cs:line 59
       at Volo.Abp.Cli.CliService.RunAsync(String[] args) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\CliService.cs:line 59
    

    I also tried: abp add-module BlazorModule --new --add-to-solution-file -t module-pro -u blazor and got the same error.

  • User Avatar
    0
    anthonyh created
    • ABP Framework version: v4.2.0
    • UI type: Blazor
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Seperated (Angular): no
    • Exception message and stack trace:
    • Steps to reproduce the issue:

    Step 1: Create a module using ABP suite. Step 2: Add an entity to the module using ABP suite.

    Problem: ABP suite does not update Blazor UI when adding a new entity. It only updates Angular and MVC.

  • User Avatar
    0
    gvnuysal created

    Hi @alper,

    ABP Framework version: v3.3.1 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Seperated (Angular): no

    Min value and Max value are decimal fields in db.(we created with abp-suite)

    decimal field accepts number e. But the phrase required field does not go away.

  • User Avatar
    0
    ilitzy created

    Hello @alper,

    I was hoping this bug to be fixed in 4.2 (first saw it in 4.1.2) but it seems to want to stay. My problem is, when I build a Blazor + separate Identity Server project, the basic DateTimePicker is not behaving how it should. Tried both Sql and Mongo and results are as follows:

    SQL: -starts from 01/01/01 and allows you to manually modify only date or month. If you attemp to modify both date and month it turns back to 01/01/0001.The year is untouchable , as it appears you can only modify the last 2 digits of it. -The today button however, works ok, but it is unpleasent to scorll down to the required year starting from 2021 -Saves date exactly

    Mongo: -same problem with DateTimePicker and manual modifications -saves not the chosen date, but the day before that (eg: I pick 05.02.2021 and it saves 04.02.2021)

    Must mention the project and CRUD pages were generated by the abp suite and there were no modifications whatsoever to the page rendering the grid, nor were there any modifications to the AppService Create method.

    Thank you in advance for your response and keep up the good work!

  • User Avatar
    0
    alper created
    Support Team Director

    I am not sure whether to report this under 4.2 or 4.1. I just generated a new project using Suite. My ABP CLI and Suite are version 4.1.2. After creating a new tiered MVC project, I am getting a bunch of errors about missing Volo.CmsKit.Pro* packages.

    Severity Code Description Project File Line Suppression State Error NU1101 Unable to find package Volo.CmsKit.Pro.HttpApi. No packages exist with this id in source(s): ABP Commercial NuGet Source, BlazoriseMyGet, Microsoft Visual Studio Offline Packages, nuget.org, OtisEd NuGet Source IronGlass.HttpApi C:\AppDev\IronGlass\IronGlass\aspnet-core\src\IronGlass.HttpApi\IronGlass.HttpApi.csproj 1

    @scott7106 v4.1.2 has some issues already reported. can you try to generate a new project now. the stable version of v4.2 has released 4 days ago. before that preview version was online and if you don't specifically add --preview parameter it always creates from the latest stable.

  • User Avatar
    0
    alper created
    Support Team Director

    ABP Framework version: v4.2.0 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Seperated (Angular): no Exception message and stack trace: Steps to reproduce the issue: Step 1: Create a module using ABP suite. Step 2: Add an entity to the module using ABP suite.

    Problem: ABP suite does not update Blazor UI when adding a new entity. It only updates Angular and MVC.

    @anthonyh , ABP Suite doesn't support BlazorUI module code generation right now. As BlazorUI is a new feature, code generation for Blazor modules will be implemented on the next version. On the other hand, code generation for Blazor application is available.

  • User Avatar
    0
    scott7106 created

    Hi @alper,

    After upgrading my CLI and Suite to 4.2 and everything worked correctly. For future reference, does Suite always generate based on the latest stable version regardless of which version I have installed? I do not see an option to tell Suite to use --preview or a specific version.

  • User Avatar
    0
    alper created
    Support Team Director

    Hello @alper,

    I was hoping this bug to be fixed in 4.2 (first saw it in 4.1.2) but it seems to want to stay. My problem is, when I build a Blazor + separate Identity Server project, the basic DateTimePicker is not behaving how it should. Tried both Sql and Mongo and results are as follows:

    SQL: -starts from 01/01/01 and allows you to manually modify only date or month. If you attemp to modify both date and month it turns back to 01/01/0001.The year is untouchable , as it appears you can only modify the last 2 digits of it. -The today button however, works ok, but it is unpleasent to scorll down to the required year starting from 2021 -Saves date exactly

    Mongo: -same problem with DateTimePicker and manual modifications -saves not the chosen date, but the day before that (eg: I pick 05.02.2021 and it saves 04.02.2021)

    Must mention the project and CRUD pages were generated by the abp suite and there were no modifications whatsoever to the page rendering the grid, nor were there any modifications to the AppService Create method.

    Thank you in advance for your response and keep up the good work!

    @ilitzy yeah it's a bad experience and I also didn't like that. I created an issue for Blazorise date component issue.

  • User Avatar
    0
    armanozak created

    Hi @gvnuysal,

    The code is generated correctly by the Suite and the behavior you see is normal.

    e alone is not a number in JavaScript or the browser. Therefore, it is not a valid input all by itself. That doesn't mean you cannot use e in number inputs. For example, 125e-5 (or 1.25e-3) is a perfectly valid input.

  • User Avatar
    0
    alper created
    Support Team Director

    @scott7106

    Hi @alper,

    After upgrading my CLI and Suite to 4.2 and everything worked correctly. For future reference, does Suite always generate based on the latest stable version regardless of which version I have installed? I do not see an option to tell Suite to use --preview or a specific version.

    Suite has a --preview option but not for generating code. you can install the preview version of the Suite like below

    abp suite install --preview
    

    If you are using a preview ABP version, then you can install the Suite preview version.

  • User Avatar
    0
    kzmyvr created
    • ABP Framework version: v4.2.0
    • UI type: MVC
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Seperated (Angular): no
    • Exception message and stack trace:
    • Steps to reproduce the issue:

    Hello, The tenant gives an invalid password error while adding. But when I give up and refresh the page, the tenant seems to have been added.

    I think there is a bug.

  • User Avatar
    0
    alper created
    Support Team Director

    @kzmyvr we'll check and get back to you.

  • User Avatar
    0
    michael.sudnik created

    When will 4.2.1 be released? We need the fix for the modals within modals.

  • User Avatar
    0
    james created
    • ABP Framework version: v4.2.0
    • UI type: Angular
    • DB provider: EF Core
    • Tiered (MVC) or Identity Server Separated (Angular): Yes
    • Exception message and stack trace: None

    I created a new Microservices project using ABP Suite. When I add a new Tenant, regardless of the username and password entered, the Save action always produces "admin@abp.io" with the standard password.

    When I create a standard Application (monolith), the action works as expected.

    BTW, the 4.2.0 update is awesome! Keep up the fantastic work.

  • User Avatar
    0
    alper created
    Support Team Director

    @michael.sudnik:

    When will 4.2.1 be released? We need the fix for the modals within modals.

    Today

  • User Avatar
    0
    l.lemmens created

    ABP Framework version: v4.2.0 UI type: Angular DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): Yes Exception message and stack trace: None

    Adding a navigation property with a reference to itsself, causes an issue.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06