Open Closed

Bugs & Issues v4.1.X #626


User avatar
0
alper created
Support Team Director

Production release of version 4.0.0 has been released on 2020-12-03 Use the below command to update both ABP CLI and ABP Suite

dotnet tool update -g Volo.Abp.Cli && abp suite update
  • Framework Release notes: https://docs.abp.io/en/commercial/latest/release-notes#4-0-0-2020-11-26
  • Commercial Release notes: https://docs.abp.io/en/commercial/latest/release-notes
  • Blog post https://blog.abp.io/abp/ABP.IO-Platform-v4.0-RC-Has-Been-Released-based-on-.NET-5.0
  • Migration guides https://docs.abp.io/en/abp/latest/Migration-Guides/Index

Migration guide from 3x to 4x => https://docs.abp.io/en/abp/latest/Migration-Guides/Abp-4_0


108 Answer(s)
  • User Avatar
    0
    rcalv002 created

    Cli 4.0 and suite 4.0 Generate a brand new project, build project, add an entity in suite. services are correctly generated on the backend, however UI is not generated on the frontend. reviweing suite log I can see the path to the schemas has .suite\schematics.suite\schematics in it (its duplicated!!) if you generate the path structure inside it as its looking for, it runs and generates the UI. surely this is just a bug with the duplicate path?

    example

    2020-12-03 10:42:03.931 -05:00 [INF] Running the Angular Schematics command: npx "projectpathhere/angular/.suite/schematics/node_modules/.bin/ng" g ".suite/schematics/collection.json:entity" app-pro CustomerPortal "projectpathhere/aspnet-core/.suite/entities/Customer.json" 2020-12-03 10:42:07.601 -05:00 [INF] Angular Schematics command failed. Collection "projectpathhere\angular**\.suite\schematics\.suite\schematics**\node_modules\@abp\ng.schematics\collection.json" cannot be resolved.

  • User Avatar
    0
    lwilbourn created

    having the same issue as new user running through the Tutorial

    Log: appears as path is incorrect.

    rootname is defined correctly.

    Log Text: 2020-12-03 10:51:17.996 -06:00 [INF] 1/9 - EntityGenerateCommand started... 2020-12-03 10:51:18.162 -06:00 [INF] 1/9 - EntityGenerateCommand completed. | Duration: 165 ms. 2020-12-03 10:51:18.162 -06:00 [INF] 2/9 - RepositoryCommand started... 2020-12-03 10:51:18.361 -06:00 [INF] 2/9 - RepositoryCommand completed. | Duration: 199 ms. 2020-12-03 10:51:18.361 -06:00 [INF] 3/9 - AppServiceCommand started... 2020-12-03 10:51:18.434 -06:00 [INF] 3/9 - AppServiceCommand completed. | Duration: 72 ms. 2020-12-03 10:51:18.434 -06:00 [INF] 4/9 - ProxyControllerCommand started... 2020-12-03 10:51:18.447 -06:00 [INF] 4/9 - ProxyControllerCommand completed. | Duration: 12 ms. 2020-12-03 10:51:18.447 -06:00 [INF] 5/9 - PermissionCommand started... 2020-12-03 10:51:18.472 -06:00 [INF] 5/9 - PermissionCommand completed. | Duration: 25 ms. 2020-12-03 10:51:18.472 -06:00 [INF] 6/9 - ApplicationObjectMappingCommand started... 2020-12-03 10:51:18.481 -06:00 [INF] 6/9 - ApplicationObjectMappingCommand completed. | Duration: 8 ms. 2020-12-03 10:51:18.481 -06:00 [INF] 7/9 - UnitTestCommandCommand started... 2020-12-03 10:51:18.509 -06:00 [INF] 7/9 - UnitTestCommandCommand completed. | Duration: 27 ms. 2020-12-03 10:51:18.509 -06:00 [INF] 8/9 - AngularUiGenerateWithSchematicsCommand started... 2020-12-03 10:51:18.511 -06:00 [INF] Running the Angular Schematics command: npx "C:/SourceCode/ABP.IO/Playground/angular/.suite/schematics/node_modules/.bin/ng" g ".suite/schematics/collection.json:entity" app-pro Playground "C:/SourceCode/ABP.IO/Playground/aspnet-core/.suite/entities/Author.json" 2020-12-03 10:51:22.393 -06:00 [INF] Angular Schematics command failed. Collection "C:\SourceCode\ABP.IO\Playground\angular\.suite\schematics\.suite\schematics\node_modules\@abp\ng.schematics\collection.json" cannot be resolved.

    2020-12-03 10:51:22.399 -06:00 [INF] 8/9 - AngularUiGenerateWithSchematicsCommand completed. | Duration: 3889 ms. 2020-12-03 10:51:22.399 -06:00 [INF] 9/9 - DbMigrationCommand started... 2020-12-03 10:51:22.399 -06:00 [INF] Adding new migration... 2020-12-03 10:51:22.399 -06:00 [INF] cd /d "C:\SourceCode\ABP.IO\Playground\aspnet-core\src\Playground.EntityFrameworkCore.DbMigrations" && dotnet ef migrations add Added_Author --startup-project ../Playground.HttpApi.Host --context PlaygroundMigrationsDbContext 2020-12-03 10:51:38.803 -06:00 [INF] Build started... Build succeeded. Done. To undo this action, use 'ef migrations remove'

  • User Avatar
    1
    christianharo created

    Updgraded cli and suite and created a new project with Blazor as UI and can't build the project generates but is not able to build as is not able to find the packages it needs.

    Blazorize >=0.9.3-preview2

  • User Avatar
    0
    christianharo created

    And here is another error i am getting when updating packages from abp suite console

  • User Avatar
    0
    alper created
    Support Team Director

    @christianharo can you add the below line to your NuGet.config in your root directory of the solution.

    <add key="BlazoriseMyGet" value="https://www.myget.org/F/blazorise/api/v3/index.json" />
    

  • User Avatar
    0
    alper created
    Support Team Director

    @lwilbourn @rcalv002 I reproduced the issue. There's a problem generating the Angular code. Created an internal issue. Will be fixed in v4.0.1

    @christianharo I couldn't reproduce "No gulpfile found" problem. Tried on 2 different projects

  • User Avatar
    0
    alper created
    Support Team Director

    for the Angular code generation issue; the problem is related to this commit https://github.com/angular/angular-cli/commit/5ce621e371166af4994cae5cc9a456ee683cbaf0 we'll fix this but there's a workaround of this problem.

    Open this file:

    C:\YourProject\angular\.suite\schematics\commands\entity\index.js
    

    Go to line 56 and replace it with the following:

    const abpSchematics = './node_modules/@abp/ng.schematics/collection.json';
    
  • User Avatar
    0
    christianharo created

    Generated a brand new project with blazor UI. Does this allow to register a new tentant? I am not able to find where this will be? also in the registration the logo on the top bring you bacl to swager

  • User Avatar
    0
    murat.yuceer created

    I created new application solution from suite with blazor ui after i add module to solution from suite modules pages its generated but host projects is missing of module

  • User Avatar
    0
    alper created
    Support Team Director

    hi @murat.yuceer,

    can you give more details about adding a module issue. you created a Blazor solution. Then you add a module. Which module? How did you add (as NuGet reference, project reference)? what's generated? did you generate a CRUD page using Suite?

  • User Avatar
    0
    murat.yuceer created

    Firstly i created project like below

    After i created module like below

    after open module solution, its look like below (host projects unloaded because they not created physically in folder)

    also if you open app solution, its not added module project to solution even i select add to the solution)

    and its not added here

  • User Avatar
    0
    alper created
    Support Team Director

    @murat.yuceer I created an internal issue (#4232) to reproduce and fix this.

  • User Avatar
    0
    Ryan.sposato@ethany.com created

    Upon upgrading to 4.0 from 3.3.1 I see the AccountService on the Angular side has been removed. We were using that for sendPasswordResetCode. The documentation still has AccountService referenced (https://docs.abp.io/en/commercial/latest/modules/account#services). What do we use now?

    Also, in the <ProjectName>.HttpApi.Host.cs file it references this package: <PackageReference Include="Serilog.Extensions.Hosting" Version="3.2.0" /> if you look in nuget or the Serilog.Extensions.Hosting project web page version 3.2.0 does not exist. 3.1 is the latest stable version.

  • User Avatar
    0
    lwilbourn created

    Using Suite to create project, then add in the Account module

    Angular/c#/EF core

    <br>

    in the Host xxxHttpApihostModule you get the below missing/incorrect references.

    this is the first module we have attempted to bring in so we can change the Login screens without having to find/replace them all.

    Is there a better way to go about or more documentation around the modules and the UI files they include?

    Or a more definitive list of component replacements? as the current documentation https://docs.abp.io/en/abp/latest/UI/Angular/Component-Replacement might not reference the latest items

    Any extra guidance would be appreciated. Thanks

  • User Avatar
    0
    dmeagor created

    I don't know if this is a known issue but using Abp Suite to generate a Module without UI creates a broken project.

    Its creating the host/blazor project for some reason (none in src as expected) The shared folder is also set to .net standard 2.0

  • User Avatar
    0
    dmeagor created

    I'm Guessing this is wrong too? Should be MailerHttpApiHostMigrationsDbContext...

    Shout.Mailer\host\Shout.Mailer.HttpApi.Host\EntityFrameworkCore\MyProjectHttpApiHostMigrationsDbContext.cs Shout.Mailer\host\Shout.Mailer.HttpApi.Host\EntityFrameworkCore\MyProjectHttpApiHostMigrationsDbContextFactory.cs

  • User Avatar
    0
    alper created
    Support Team Director

    @Ryan.sposato@ethany.com

    Angular login page has been removed in v3.1 See https://blog.abp.io/abp/ABP-Framework-v3.1-RC-Has-Been-Released


    There's no v3.2.0 packag for Serilog.Extensions.Hosting. Please double check. You might be confusing it with Serilog.AspNetCore? <PackageReference Include="Serilog.AspNetCore" Version="3.2.0" />

    HttpApi.Host packages:

      <ItemGroup>
        <PackageReference Include="Serilog.AspNetCore" Version="3.2.0" />
        <PackageReference Include="Serilog.Sinks.Async" Version="1.4.0" />
        <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="5.0.0" />
        <PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="5.0.0" />
        <PackageReference Include="Microsoft.AspNetCore.Authentication.Google" Version="5.0.0" />
        <PackageReference Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="5.0.0" />
        <PackageReference Include="Microsoft.AspNetCore.Authentication.Twitter" Version="5.0.0" />
      </ItemGroup>
    
  • User Avatar
    0
    alper created
    Support Team Director

    @dmeagor , I'll check it.

  • User Avatar
    0
    alper created
    Support Team Director

    @dmeagor, created an issue https://github.com/abpframework/abp/issues/6535

  • User Avatar
    0
    Ryan.sposato@ethany.com created

    Created a brand new Angular/MongoDb Project from Suite. Everything is upgraded to 4.0. Using Mongo database. Get the following error:

  • User Avatar
    0
    dmeagor created

    Another "Abp Suite" bug. Creating an application called Shout with a module called Shout.Crm

    Created a new Application (Blazor, separated Identity Server, no mobile react) named: "Shout"

    Using the newly added option I created a "new module" called "Shout.Crm" and checked the option to add this to the application automatically.

    This has caused multiple errors in the root application as the using statements now incorrectly have ".Shout" endings.

    ShoutEntityFrameWorkCoreModule.cs using Shout.Crm.EntityFrameworkCore**.Shout;**

    Can't fix this one myself? ShoutMigratrionsDbContext.cs builder.ConfigureShout.Crm(); //cannot resolve Crm I think this should be be: builder.ConfigureCrm();

    Maybe if I create the module as Crm intead of Shout.Crm it will work? Either way its just guesswork.

  • User Avatar
    0
    dmeagor created

    Another Abp Suite bug.

    In Abp Suite, open application. Add new module + check Add to solution

    Open module .sln file and all the host projects fail to open as they are not created (did you intend to create them.)

    Think I'll wait for 4.1 before I use abp again.

  • User Avatar
    0
    alper created
    Support Team Director

    @lwilbourn created an internal issue (#4243) besides, there's no need to add PublicWebIdentityServerModule to HttpApihostModule. you can delete the red lines.

  • User Avatar
    0
    alper created
    Support Team Director

    @Ryan.sposato@ethany.com

    I created a new Angular+Mongo project and couldn't reproduce your issue

    abp new Angular.MongoDb1208 -t app-pro -u angular --mobile none --database-provider mongodb -csf
    

  • User Avatar
    0
    alper created
    Support Team Director

    @dmeagor I'll check incorrectly have ".Shout" endings problem

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