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)
-
0
Hi @alper,
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.
{ 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.
-
0
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.
-
0
-
0
-
0
- 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
-
0
@gvnuysal can you write your project type for the decimal value issue ?
-
0
-
0
@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.
-
0
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?
-
0
- 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. -
0
- 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.
-
0
-
0
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!
-
0
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.
-
0
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.
-
0
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.
-
0
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.
-
0
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 usee
in number inputs. For example,125e-5
(or1.25e-3
) is a perfectly valid input. -
0
@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 belowabp suite install --preview
If you are using a preview ABP version, then you can install the Suite preview version.
-
0
- 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.
-
0
@kzmyvr we'll check and get back to you.
-
0
When will 4.2.1 be released? We need the fix for the modals within modals.
-
0
- 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.
-
0
@michael.sudnik:
When will 4.2.1 be released? We need the fix for the modals within modals.
Today
-
0