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
- 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
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
- 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 "[email protected]" 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
@james :
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 "[email protected]" 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.
yes, this is a known bug and the team is working on this issue. this will be fixed in v4.3. as a workaround, you can update the new user credentials manually.
-
0
Hello
All automatic generated classes and repositories seem invalid. A piece of the summary seems to be included every time it should just need 'DynamicFieldEntityType type'
- DynamicFieldGroupDto
- DynamicFieldGroupCreateDto
- DynamicFieldGroupUpdateDto
- GetDynamicFieldGroupInput
- DynamicFieldGroup
- EfCoreDynamicFieldGroupRepository
- IDynamicFieldGroupRepository
-
0
Hello
All automatic generated classes and repositories seem invalid. A piece of the summary seems to be included every time it should just need 'DynamicFieldEntityType type'
- DynamicFieldGroupDto
- DynamicFieldGroupCreateDto
- DynamicFieldGroupUpdateDto
- GetDynamicFieldGroupInput
- DynamicFieldGroup
- EfCoreDynamicFieldGroupRepository
- IDynamicFieldGroupRepository
can you share us your entity.json and enum class. it's in your solution root directory
.\suite\entities
folder. -
0
entity:
{ "Id": "0c368538-43bf-4bc3-81b8-9ea81fc7d7d5", "Name": "DynamicFieldGroup", "OriginalName": "DynamicFieldGroup", "NamePlural": "DynamicFieldGroups", "DatabaseTableName": "DynamicFieldGroups", "Namespace": "DynamicFieldGroups", "BaseClass": "FullAuditedAggregateRoot", "PrimaryKeyType": "Guid", "IsMultiTenant": true, "ShouldCreateUserInterface": false, "ShouldCreateBackend": false, "ShouldAddMigration": true, "ShouldUpdateDatabase": true, "CreateTests": true, "Properties": [ { "Id": "e7f10311-d742-47d5-b767-57082c28d9a0", "Name": "Name", "Type": "string", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "IsNullable": false, "IsRequired": true, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "EnumValues": null }, { "Id": "e5020837-cd7f-40c6-8e01-ee66bdde73f9", "Name": "Order", "Type": "int", "EnumType": "", "EnumNamespace": "", "EnumAngularImport": "shared/enums", "IsNullable": false, "IsRequired": true, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "EnumValues": null }, { "Id": "01727782-35c5-4b65-a587-d81314d92d06", "Name": "Type", "Type": "enum", "EnumType": "will define the discriminator for a dynamic field.\r\n /// </summary>\r\n public enum DynamicFieldEntityType", "EnumNamespace": "InduwareIO.Shared", "EnumAngularImport": "shared/enums/will-define-the-discriminator-for-a-dynamic-field-summary-public-enum-dynamic-field-entity-type", "IsNullable": false, "IsRequired": true, "MinLength": null, "MaxLength": null, "SortOrder": 0, "SortType": 0, "Regex": "", "EmailValidation": false, "EnumValues": { "Product": 0, "Supplier": 1, "Project": 2, "Employee": 3 } } ], "NavigationProperties": [], "PhysicalFileName": "DynamicFieldGroup.json" }
enum:namespace InduwareIO.Shared { public enum DynamicFieldEntityType { Product = 0, Supplier = 1, Project = 2, Employee = 3 } }
-
0
I am encountering an error trying to update a project to the latest release. The error occurs both the CLI and with Suite.
Suite - upgrade all packages
Starting Suite v4.2.0 ... Opening http://localhost:3000 Press Ctrl+C to shut down. [18:05:45 ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }
[18:05:45 ERR] Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.GetLatestVersionFromMyGet(String packageId) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\VoloNugetPackagesVersionUpdater.cs:line 222 at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.UpdateSolutionAsync(String solutionPath, Boolean includePreviews, Boolean includeReleaseCandidates, Boolean switchToStable, Boolean checkAll, String version) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\VoloNugetPackagesVersionUpdater.cs:line 40 at Volo.Abp.Cli.Commands.UpdateCommand.UpdateNugetPackages(CommandLineArgs commandLineArgs, String directory, String version) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\UpdateCommand.cs:line 70 at Volo.Abp.Cli.Commands.UpdateCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\github\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\UpdateCommand.cs:line 41 at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Services.SolutionService.UpdatePackagesInSolutionAsync(String solutionPath, Boolean npm, Boolean nuget) at Volo.Abp.Suite.Controllers.AbpSuiteController.UpdatePackagesInSolution(String solutionPath, Boolean npm, Boolean nuget) at lambda_method1659(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.
CLI - abp update from the aspnet-core directory
[18:02:34 INF] ABP CLI (https://abp.io) [18:02:34 INF] Version 4.2.0 (Stable) [18:02:35 WRN] ABP CLI has a newer stable version 4.2.1, please update to get the latest features and fixes. [18:02:35 WRN] [18:02:35 WRN] Update Command: [18:02:35 WRN] dotnet tool update -g Volo.Abp.Cli [18:02:35 WRN] [18:02:37 ERR] Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object. at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.GetLatestVersionFromMyGet(String packageId) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\VoloNugetPackagesVersionUpdater.cs:line 222 at Volo.Abp.Cli.ProjectModification.VoloNugetPackagesVersionUpdater.UpdateSolutionAsync(String solutionPath, Boolean includePreviews, Boolean includeReleaseCandidates, Boolean switchToStable, Boolean checkAll, String version) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\ProjectModification\VoloNugetPackagesVersionUpdater.cs:line 40 at Volo.Abp.Cli.Commands.UpdateCommand.UpdateNugetPackages(CommandLineArgs commandLineArgs, String directory, String version) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\UpdateCommand.cs:line 70 at Volo.Abp.Cli.Commands.UpdateCommand.ExecuteAsync(CommandLineArgs commandLineArgs) in D:\ci\Jenkins\workspace\abp-framework-release\abp\framework\src\Volo.Abp.Cli.Core\Volo\Abp\Cli\Commands\UpdateCommand.cs:line 41 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
-
0
I am encountering an error trying to update a project to the latest release. The error occurs both the CLI and with Suite.
Suite - upgrade all packages
Starting Suite v4.2.0 ... Opening http://localhost:3000 Press Ctrl+C to shut down. [18:05:45 ERR] ---------- RemoteServiceErrorInfo ---------- { "code": null, "message": "An internal error occurred during your request!", "details": null, "data": {}, "validationErrors": null }
[18:05:45 ERR] Object reference not set to an instance of an object. System.NullReferenceException: Object reference not set to an instance of an object.
hi @scott7106
this issue has been fixed in https://github.com/abpframework/abp/issues/7739
-
0
After creating new project with Lepton theme source code embeded and account module source code embeded, I got the folloing error:
Warning: Entry point '@volo/abp.ng.account/config' contains deep imports into 'FOLDER/angular/projects/account/admin/src/public-api.ts'. This is probably not a problem, but may cause the compilation of entry points to be out of order.
Error: Failed to compile entry-point @volo/abp.ng.account/config (es2015 as esm2015) due to compilation errors: projects/account/admin/src/account-settings.module.ts:11:14 - error NG6002: Appears in the NgModule.imports of AccountConfigModule, but could not be resolved to an NgModule class.
Is it missing an @NgModule annotation?
11 export class AccountSettingsModule {} ~~~~~~~~~~~~~~~~~~~~~ projects/account/admin/src/account-settings.module.ts:11:14 - error NG6003: Appears in the NgModule.exports of AccountConfigModule, but could not be resolved to an NgModule, Component, Directive, or Pipe class.
Is it missing an Angular annotation?
11 export class AccountSettingsModule {} ~~~~~~~~~~~~~~~~~~~~~
-
0
Hi @Mehmet,
I tried, I don't think so, the issue occures after you create a new application with the latest version, and then install both lepton source code and account pro source code (replace packages with source code)
The ngcc compiler must use the library from 'project' folder in angular app, but looks there is some missing configuration in the project, Now I did a small change to make the project run (cause I have to work on my tasks, unitl I find a solution) , I commented out importing the Account Config module, and it worked successfuly, but the menu in admin menu is missing some links now
-
0
Any update? I got the same error:
Warning: Entry point '@volo/abp.ng.account/config' contains deep imports into '......./angular/projects/account/admin/src/public-api.ts'. This is probably not a problem, but may cause the compilation of entry points to be out of order. Error: Failed to compile entry-point @volo/abp.ng.account/config (es2015 as esm2015) due to compilation errors: projects/account/admin/src/account-settings.module.ts:28:14 - error NG6002: Appears in the NgModule.imports of AccountConfigModule, but could not be resolved to an NgModule class. Is it missing an @NgModule annotation? 28 export class AccountSettingsModule {}
-
0
ABP Framework version: v4.2.1 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:
ABP suite didn't generate front-end code. My project name is Acme.BookStorePro , package.json The name in is bookstorepro
-
0
ABP Framework version: v4.2.0 VisualStudioVersion = 16.0.31004.235 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:
I created a vanilla project and without any modifications it wont build.
- Create a new application using suite.
- Open Solution
- Build
Error: \Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): error MSB4018: The "ResolveAssemblyReference" task failed unexpectedly. error MSB4018: Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error: Unexpected CopyLocal flag.
I reduced the version down to 4.1.0 for all Volo packages and it worked, but failed again when I updated to 4.2.1
Thanks Chris
-
0
Hi @MILLENNIUM, @bqabani
Warning: Entry point '@volo/abp.ng.account/config' contains deep imports into '......./angular/projects/account/admin/src/public-api.ts'. This is probably not a problem, but may cause the compilation of entry points to be out of order. Error: Failed to compile entry-point @volo/abp.ng.account/config (es2015 as esm2015) due to compilation errors: projects/account/admin/src/account-settings.module.ts:28:14 - error NG6002: Appears in the NgModule.imports of AccountConfigModule, but could not be resolved to an NgModule class. Is it missing an @NgModule annotation? 28 export class AccountSettingsModule {}
To resolve the problem above, first, you should add a file named
tsconfig.prod.json
with the below content to angular folder.{ "compileOnSave": false, "compilerOptions": { "baseUrl": "./", "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, "downlevelIteration": true, "experimentalDecorators": true, "module": "esnext", "moduleResolution": "node", "importHelpers": true, "target": "es2015", "typeRoots": ["node_modules/@types"], "lib": ["es2018", "dom"], "types": ["jest"] }, "angularCompilerOptions": { "fullTemplateTypeCheck": true, "strictInjectionParameters": true } }
Then open the
package.json
and add the following scripts:"scripts": { ... "compile:ivy": "yarn ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points --tsconfig './tsconfig.prod.json' --source node_modules", "postinstall": "npm run compile:ivy" },
After this configuration, you should remove
yarn.lock
and run theyarn
command.There is a problem with ngcc. It can not resolve the paths in tsconfig.json correctly. The solution above is just a trick.
-
0
-
0
ABP Framework version: v4.2.1 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:
ABP suite didn't generate front-end code. My project name is Acme.BookStorePro , package.json The name in is bookstorepro
@sgal
Can you check the logs >=
%UserProfile%\.abp\suite\logs
(normally you should see an exception about not generating the code) Is there any problem with the backend code generation? -
0
ABP Framework version: v4.2.0 VisualStudioVersion = 16.0.31004.235 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:I created a vanilla project and without any modifications it wont build.
- Create a new application using suite.
- Open Solution
- Build
Error: \Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): error MSB4018: The "ResolveAssemblyReference" task failed unexpectedly. error MSB4018: Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error: Unexpected CopyLocal flag.
I reduced the version down to 4.1.0 for all Volo packages and it worked, but failed again when I updated to 4.2.1
Thanks Chris
@[email protected] I have tried to reproduce the problem with 4.2.1 and it was OK. Try to build via
dotnet build
CLI tool. check whether the path of your project is too long try to re-login ABP viaabp login <username>
(if some packages are not being restored) -
0
-
0
@alper I found some problem
npm ERR! A complete log of this run can be found in: npm ERR! /Users/sgalcheung/.npm/_logs/2021-02-22T02_40_59_580Z-debug.log
and I open the 2021-02-22T02_40_59_580Z-debug.log The content of the problem is as follows
22 verbose stack Error: ENOTDIR: not a directory, open '/Users/sgalcheung/Documents/StudyABP/AbpSuite/AngularSeparateTutorial/Acme.BookStorePro/angular/.suite/schematics/node_modules/.bin/ng/package.json' 23 verbose cwd /Users/sgalcheung/Documents/StudyABP/AbpSuite/AngularSeparateTutorial/Acme.BookStorePro/angular 24 verbose Darwin 20.3.0 25 verbose argv "/usr/local/Cellar/node/15.5.0/bin/node" "/usr/local/lib/node_modules/npm/bin/npm-cli.js" "exec" "--" "/Users/sgalcheung/Documents/StudyABP/AbpSuite/AngularSeparateTutorial/Acme.BookStorePro/angular/.suite/schematics/node_modules/.bin/ng" "g" ".suite/schematics/collection.json:entity" "app-pro" "Acme.BookStorePro" "/Users/sgalcheung/Documents/StudyABP/AbpSuite/AngularSeparateTutorial/Acme.BookStorePro/aspnet-core/.suite/entities/Book.json" 26 verbose node v15.5.0 27 verbose npm v7.3.0 28 error code ENOTDIR 29 error syscall open 30 error path /Users/sgalcheung/Documents/StudyABP/AbpSuite/AngularSeparateTutorial/Acme.BookStorePro/angular/.suite/schematics/node_modules/.bin/ng/package.json 31 error errno -20 32 error ENOTDIR: not a directory, open '/Users/sgalcheung/Documents/StudyABP/AbpSuite/AngularSeparateTutorial/Acme.BookStorePro/angular/.suite/schematics/node_modules/.bin/ng/package.json' 33 verbose exit -20
-
0
Hi sgal,
We can reproduce the error you got with Node v15 and npm v7, but these are not the versions we support. Angular CLI has known problems with these two versions and we do not know when they will be ready to use.
Could you please try with Node v14 and npm v6?
Thanks.
-
0
ABP Framework version: v4.2.0
VisualStudioVersion = 16.0.31004.235
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:I created a vanilla project and without any modifications it wont build.
- Create a new application using suite.
- Open Solution
- Build
Error:
\Preview\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2182,5): error MSB4018: The "ResolveAssemblyReference" task failed unexpectedly.
error MSB4018: Microsoft.Build.Shared.InternalErrorException: MSB0001: Internal MSBuild Error: Unexpected CopyLocal flag.I reduced the version down to 4.1.0 for all Volo packages and it worked, but failed again when I updated to 4.2.1
Thanks
Chris@[email protected] I have tried to reproduce the problem with 4.2.1 and it was OK. Try to build via
dotnet build
CLI tool. check whether the path of your project is too long
try to re-login ABP viaabp login <username>
(if some packages are not being restored)Hi @alper thanks for the check.
Sorry this was on me, my PC had done a hard reset and the nuget package files for .net 5 were corrupt. Check Disk didnt pick it up. Had to do a NuGet global cache clean to get things working.
Thanks again. Chris
-
0
About enum automatically obtain value problem
When defining enum, the value can be obtained at compile time, but the entity.json generated by abp suite is null
It is recommended to add this feature
hi this is not possible because these enums are being used also in Angular clients so there's no compile time there. And I see that your enum syntax doesn't seem to be formal written.
-
0
Hello
I had a working solution, then I've added the AccountModule and ThemeModule as a project to my solution (cfr. Link), but now the tests are broken. EFCoreTests are still fine.
Application tests fail with following message: Volo.Abp.AbpInitializationException : An error occurred during the initialize Volo.Abp.Modularity.OnApplicationInitializationModuleLifecycleContributor phase of the module Volo.Abp.AspNetCore.Mvc.AbpAspNetCoreMvcModule, Volo.Abp.AspNetCore.Mvc, Version=4.2.1.0, Culture=neutral, PublicKeyToken=null: Could not find singleton service: Microsoft.AspNetCore.Hosting.IWebHostEnvironment, Microsoft.AspNetCore.Hosting.Abstractions, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60. See the inner exception for details. ---- System.InvalidOperationException : Could not find singleton service: Microsoft.AspNetCore.Hosting.IWebHostEnvironment, Microsoft.AspNetCore.Hosting.Abstractions, Version=5.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60
Stacktrace: ModuleManager.InitializeModules(ApplicationInitializationContext context) AbpApplicationBase.InitializeModules() AbpApplicationWithExternalServiceProvider.Initialize(IServiceProvider serviceProvider) AbpIntegratedTest
1.ctor() InduwareIOTestBase
1.ctor() InduwareIOApplicationTestBase.ctor() CollectiveLeaveAppServiceTests.ctor() line 18 ----- Inner Stack Trace ----- ServiceCollectionCommonExtensions.GetSingletonInstance[T](IServiceCollection services) AbpAspNetCoreServiceCollectionExtensions.GetHostingEnvironment(IServiceCollection services) <>c__DisplayClass1_0.<ConfigureServices>b__2(AbpAspNetCoreMvcOptions options) PostConfigureOptions1.PostConfigure(String name, TOptions options) OptionsFactory
1.Create(String name) <>c__DisplayClass5_0.<Get>b__0() Lazy1.ViaFactory(LazyThreadSafetyMode mode) Lazy
1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor) Lazy1.CreateValue() Lazy
1.get_Value() OptionsCache1.GetOrAdd(String name, Func
1 createOptions) OptionsManager1.Get(String name) OptionsManager
1.get_Value() AbpAspNetCoreMvcModule.AddApplicationParts(ApplicationInitializationContext context) AbpAspNetCoreMvcModule.OnApplicationInitialization(ApplicationInitializationContext context) OnApplicationInitializationModuleLifecycleContributor.Initialize(ApplicationInitializationContext context, IAbpModule module) ModuleManager.InitializeModules(ApplicationInitializationContext context)The module AbpAspnetCoreMvcModule is only used in the seperate AccountModule and ThemeModule. What do I do to fix this?
-
0
When an entity has an AppUser navigation property, angular does not generate AppUserDto
I reproduced it.
AppUserDto
doesn't exist in the Angular template (out of box). But if you run generate-proxy AppUserDto will be generated in your Angular code. Anyway I created an issue for that. -
0
Thank you Mehmet, This worked!
Hi @MILLENNIUM, @bqabani
Warning: Entry point '@volo/abp.ng.account/config' contains deep imports into '......./angular/projects/account/admin/src/public-api.ts'. This is probably not a problem, but may cause the compilation of entry points to be out of order. Error: Failed to compile entry-point @volo/abp.ng.account/config (es2015 as esm2015) due to compilation errors: projects/account/admin/src/account-settings.module.ts:28:14 - error NG6002: Appears in the NgModule.imports of AccountConfigModule, but could not be resolved to an NgModule class. Is it missing an @NgModule annotation? 28 export class AccountSettingsModule {}
To resolve the problem above, first, you should add a file named
tsconfig.prod.json
with the below content to angular folder.{ "compileOnSave": false, "compilerOptions": { "baseUrl": "./", "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, "downlevelIteration": true, "experimentalDecorators": true, "module": "esnext", "moduleResolution": "node", "importHelpers": true, "target": "es2015", "typeRoots": ["node_modules/@types"], "lib": ["es2018", "dom"], "types": ["jest"] }, "angularCompilerOptions": { "fullTemplateTypeCheck": true, "strictInjectionParameters": true } }
Then open the
package.json
and add the following scripts:"scripts": { ... "compile:ivy": "yarn ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points --tsconfig './tsconfig.prod.json' --source node_modules", "postinstall": "npm run compile:ivy" },
After this configuration, you should remove
yarn.lock
and run theyarn
command.There is a problem with ngcc. It can not resolve the paths in tsconfig.json correctly. The solution above is just a trick.
-
0
When an entity has an AppUser navigation property, angular does not generate AppUserDto
I reproduced it.
AppUserDto
doesn't exist in the Angular template (out of box).
But if you run generate-proxy AppUserDto will be generated in your Angular code. Anyway I created an issue for that.Where Can I see this issue, and is there any progress?
-
0
When an entity has an AppUser navigation property, angular does not generate AppUserDto
I reproduced it.
AppUserDto
doesn't exist in the Angular template (out of box).
But if you run generate-proxy AppUserDto will be generated in your Angular code. Anyway I created an issue for that.Where Can I see this issue, and is there any progress?
Next version there'll be a AppUserDto entity in Angular project. But you can basically create this entity in your Angular project manually.
string TenantId string Username string Email string Name string Surname bool EmailConfirmed string PhoneNumber bool PhoneNumberConfirmed bool LockoutEnabled bool IsLockedOut bool TwoFactorEnabled
-
0
Earlier, abp suite did not support module generation curd, now I still encounter some problems. And, when I create a module in the application module, their UI are not separated
-
0
Hello, We cannot find any UI page about Background Jobs in commercial (angular) web panel. Is there your a roadmap planning about Background Jobs Management UI page(s)
ABP has a built-in Background Job Manager and it's a simple one which has no UI. If you are looking for a rich background job system you can integrate one of these (they have their own dashboards)
- Hangfire: https://docs.abp.io/en/abp/latest/Background-Jobs-Hangfire
- RabbitMQ: https://docs.abp.io/en/abp/latest/Background-Jobs-RabbitMq
- Quartz: https://docs.abp.io/en/abp/latest/Background-Jobs-Quartz
-
0
Earlier, abp suite did not support module generation curd, now I still encounter some problems. And, when I create a module in the application module, their UI are not separated
can you explain in details? are you adding a module to your application (is it microservice template?) what's your project type? UI options?
-
0
The operation in abp suite can be summarized as the following steps: 1.Create an Application template project 2.On the Module page, use the button to create a module, which will automatically add dependencies to the Application Module 3.Open the Module just created in abp suite, add an entity, click the generate button, an error Cannot find Volo.Abp.Commercial.SuiteTemplates.dll #4 This works fine if I add the package 4.After that, the back-end code was generated normally, but the front-end angular did not generate it
I think the page generated by crud should be under the application module's angle, not under models own angular. I recommend putting this modules in the outermost directory.
I want to make a module similar to the module you provide, and then pluggable use. Is this method feasible and is there a good method to recommend?
-
0
The issue is solved by changing http to be https (unfortunately there is no error message to tell the the issue, you just need to guess!)
Dears,
I have a working abp in local environment, when I published to local staging server (without https) it runs but no login links work, all (Login) links in menu and homepage does not do anything!
I have no error in console.
Any idea?
It is 4.2 version (Angular) Commercial
-
0
Hello! Two small bugs to report:
With Angular UI, the Administration sidebar menu closes after selecting an element. For example, starting from the Home page, click
Administration
->Identity Management
->Roles
. It navigates to the Roles page but the Administration menu collapses. Not sure if this was introduced in 4.1 or 4.2 as we upgraded from 4.0 to 4.2.The lockout message in English could use a few fixes. Please notice the bold and strike-through below.
Your account has been locked by the admin or due to invalid login attempts. Please try again later. Contact ~~to~~ your system administrator if you think this is a mistake.
As always, thanks for the help!
Edit:
Here are two more:
- With Angular UI, when signed in with an account that does not have any administration permissions, the administration menu button briefly shows when clicking other menu items. This happens frequently but seemingly randomly.
- The cancel button on the login page does not properly return to the unauthenticated app when using Angular UI. It seems to redirect to
http://localhost:4200/?error=access_denied
and throws this error in the console:
core.js:4197 ERROR OAuthErrorEvent {type: "code_error", reason: {…}, params: {…}}
-
1
Hi,
I think it's fixed in the latest version. I couldn't reproduce it on our demo website which is also Angular commercial.abp.io/demo
For the last 2 items, I created an issue.
-
0
-
1
1.I created a new project ( MVC - EF - 4.2.2)
On build I see error in d:\abptest2\src\Test.Domain.Shared\TestDomainSharedModule.cs(38,23): error CS0246: The type or namespace name "AbpIdentityProDomainSharedModule" could not be found (are you missing a using directive or an assembly reference?)[d:\abptest2\src\Test.Domain.Shared\Test.Domain.Shared.csproj]
-
0
-
0
1.I created a new project ( MVC - EF - 4.2.2)
2. Add Lepton Theme module with source code.
- And :
any comment ?
New packages have been added to Lepton, some of them have been renamed. we made it backwards compatible, but since we cannot change the 4.2.2 version of the CLI. You should do it with 4.3.0 RC version. Or you can completely update your project to the latest preview (if that's not a problem for you)
-
0
@Serdar
If you don't want to update your project to v4.3.0, you can run the following Cli commands:
dotnet tool uninstall Volo.Abp.Cli -g
dotnet tool install Volo.Abp.Cli -g --version 4.3.0-rc.2
abp add-module Volo.LeptonTheme --with-source-code --add-to-solution-file
(Run in the folder of the .Sln file of your project)dotnet tool uninstall Volo.Abp.Cli -g
dotnet tool install Volo.Abp.Cli -g
This commands will install ABP CLI with the latest preview version, add LeptonTheme correctly and them switch ABP CLI version back to 4.2.2
-
0
1.I created a new project ( MVC - EF - 4.2.2)
2. Add Lepton Theme module with source code.
- And :
any comment ?
New packages have been added to Lepton, some of them have been renamed. we made it backwards compatible, but since we cannot change the 4.2.2 version of the CLI. You should do it with 4.3.0 RC version. Or you can completely update your project to the latest preview (if that's not a problem for you)
ok, Alper. I'm looking forward to 4.3 Release already.
-
0
@Serdar
If you don't want to update your project to v4.3.0, you can run the following Cli commands:
dotnet tool uninstall Volo.Abp.Cli -g
dotnet tool install Volo.Abp.Cli -g --version 4.3.0-rc.2
abp add-module Volo.LeptonTheme --with-source-code --add-to-solution-file
(Run in the folder of the .Sln file of your project)dotnet tool uninstall Volo.Abp.Cli -g
dotnet tool install Volo.Abp.Cli -g
This commands will install ABP CLI with the latest preview version, add LeptonTheme correctly and them switch ABP CLI version back to 4.2.2
Thanks @yekalkan. I will use this.
-
0
There is an issue with the current UnitOfWork system of the ABP Framework. Please see https://github.com/abpframework/abp/issues/8740 for the details. As of now, I can confirm the issue in 4.2.2 which is my current version. I have not tested additional versions.
The code for the AppService.UpdateAsync method which gets generated by ABP Suite is problematic. The default for the autoSave parameter is false which may fail silently in certain situations.
-
0
@scott7106 I've checked the issue and related Suite template will be updated in v4.31. For a workaround you can update your Suite template. Open Suite, go to Templates tab. Search for
AppService.txt
Find the
UpdateAsync
line and add theautoSave: true
argument.%%entity-name-camelcase%% = await _%%entity-name-camelcase%%Repository.UpdateAsync(%%entity-name-camelcase%%, autoSave: true);