Open Closed

Bugs & Problems v3.1.X #282


User avatar
0
maliming created
Support Team Fullstack Developer

Update the ABP CLI:

dotnet tool update -g Volo.Abp.Cli

Update the ABP Suite:

abp suite update or dotnet tool update -g Volo.Abp.Suite

  • Release notes https://docs.abp.io/en/commercial/latest/release-notes

105 Answer(s)
  • User Avatar
    0
    alper created
    Support Team Director

    @pkouame, you need to update Microsoft.Extensions.FileProviders.Embedded package to 3.1.6 manually.

    and for yarn gulp problem; it checks the installed NPM packages and searches for gulp@. See https://github.com/abpframework/abp/blob/95d2eb200d704768f67764dd3c1b02258e9e6f6f/framework/src/Volo.Abp.Cli.Core/Volo/Abp/Cli/ProjectModification/NpmGlobalPackagesChecker.cs#L27

  • User Avatar
    0
    pkouame created

    @alper - on FileProviders I updated my project file manually to let it compile - I was just letting you guys know - I'm on visual studio code on the mac

    on gulp - how do you suggest I fix this problem ? Isn't this a problem with your installer ?

    UPDATE:

    after 3.1.0 release abp switch-to-stable generates the same gulp install error but since mine is installed via yarn gulpfile.js is processed correctly as long as my version of gulp-cli is updated to CLI version 2.3.0. Just to let you guys know (don't know where to report these problems - so just doing so here if it helps anyone). Also FileProviders still needs to be manually updated to 3.1.6 or else aspnet-core doesn't build.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi @songshuai1986

    This is like a network problem, you can try to use proxies for abp.exe and abp-suite.exe.

  • User Avatar
    0
    QuantaVN created

    Generated solution using ABP CLI command: abp new Acme.BookStore -t app-pro -d ef -u angular -m react-native -csf Then using ABP Suite v3.1.0.0 to generate CRUD page.

    It worked as usual when keeping the default Namespace: But it did not work if using another Namespace: The Books menu is missing: If we type in the address bar: http://localhost:4200/books we got 403 error:

    In our AspNetZero project, we are using Namespace to ogranize business sectors. We are trying to migrate to ABP, hope this feature should work as in AspNetZero.

  • User Avatar
    0
    armanozak created

    Hi quan.truong.anh@gmail.com,

    This happens due to a mismatch of required policies between the code generated by suite and the app configuration response. There is a PR that fixes the issue and it will not exist in v3.1.1 patch.

    Although the release is soon, until then, you may fix the required policies manually. Two files each entity are affected (in Angular app):

    In ./src/app/books/book/providers/book-route.provider.ts file:

    • requiredPolicy: 'BookStore.MyNamespace' should be requiredPolicy: 'BookStore.Books'.

    In ./src/app/books/book/components/book.component.html file

    • *abpPermission="'BookStore.MyNamespace.Create'" should be *abpPermission="'BookStore.Books.Create'"
    • *abpPermission="'BookStore.MyNamespace.Delete'" should be *abpPermission="'BookStore.Books.Delete'"
    • *abpPermission="'BookStore.MyNamespace.Edit'" should be *abpPermission="'BookStore.Books.Edit'"

    Sorry for the inconvenience.

  • User Avatar
    0
    QuantaVN created

    Thank @armanozak, related to the Permission, I think it's better if ABP Suite can group permissions by Namespace:

    Moreover, I found another issue ralated to ABP Suite: Inconsistent API endpoint generation rule between Server and Client (Angular). In [Acme.HttpApi], the route is using '%%entity-name-camelcase%%':

        [RemoteService]
        [Area("app")]
        [ControllerName("MyEntity")]
        [Route("api/app/myEntity")]     // THIS LINE
        public class MyEntityController : AbpController, IPaymentMethodAppService
        {
        ...
        }
    

    In [my-entity.service.ts], the url is using '<%= kebab(name) %>':

      create = (input: MyEntityCreateDto) =>
        this.restService.request<any, MyEntityDto>({
          method: 'POST',
          url: '/api/app/my-entity',    // THIS LINE
          body: input,
        },
        { apiName: this.apiName })
    

    I think we should use '<%= kebab(namePlural) %>' for the enpoints, similar to other existing enpoints:

    • ApiResources: /api/identity-server/api-resources
    • AuditLogs: ​/api​/audit-logging​/audit-logs
  • User Avatar
    0
    Johannes created

    We are getting the same bug in 3.1.0 that was reported in version 3.0.3 by thanhvl1@fsoft.com.vn:

    Steps to reproduce:

    1. Created new project with abp suite 3.1.0, using EF, Angular, React
    2. Followed guide at https://docs.abp.io/en/abp/latest/Entity-Framework-Core-MySQL to switch to mysql
    3. Successfully migrated db, everything works
    4. Added the following entity in the suite (with only 1 string property):

    Pressing save and generate fails.

    We tried using just the "AuditedEntity" instead of "FullAuditedEntity" and this works correctly.

  • User Avatar
    0
    Esben_Dalgaard created

    Made with new project in Abp suite 3.1.0, Angular, EFC(Mysql), react. The Angular frontend responds with 404 when querying for entities with navigational properties. Swagger communication with the Sql server works fine. Tried with "Audited entity "and "FullAuditedAggrigateRoot".

    Edit: Problem found. Angular frontend writes API url like this /api/app/join-products-child/ and swagger writes it like /api/app/joinProductsChild/ Swagger uses Camelcase and Angular uses dashes. Change the url's in src/app/proxy/ to match the swagger ones.

  • User Avatar
    0
    armanozak created

    Hi quan.truong.anh@gmail.com, Esben_Dalgaard,

    The issue you have reported about the casing of the endpoints will be fixed in v3.1.1. Until then, you may use abp generate-proxy command to reproduce the services with correct cases.

  • User Avatar
    0
    jackmcelhinney created

    Having some issues with the ngx-datatable in the Angular UI after migrating to 3.1.0. I'm getting the following error when on a page with a datatable after upgrading with no other changes:

    I tried providing ScrollbarHelper from @swimlane/ngx-datatable in the module, then it throws the same error for DimensionsHelper, ColumnChangesService, and DatatableComponent, the latter of which providing does not change the error.

    Are there any changes I need to make to keep the datatables working in 3.1.0? Any ideas? Thanks in advance.

  • User Avatar
    0
    Mehmet created

    Hi @jackmcelhinney

    Actually, you do not need the provide ScrollBarHelper and other services. Did you add the NgxDatatableModule to imports array of your module?

    I can't reproduce the problem.

    If you still have problems, can you explain the replication steps in detail with us?

  • User Avatar
    0
    alper created
    Support Team Director

    hi quan.truong.anh@gmail.com I can verify that different namespace issue has been resolved in 3.1.1. This minor version will be released soon.

  • User Avatar
    0
    alper created
    Support Team Director

    @Johannes thanks for your feedback. it's reproduced and fixed in v3.1.1

  • User Avatar
    0
    jackmcelhinney created

    Hey @Mehmet,

    Seems like it was just a package issue. Running yarn upgrade fixed the problem.

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

    ABP Framework version: v3.1.1 Would you please provide guidance on why I am unable to install ABP Suite v3.1.1. Here are the steps taken:

    Step 1: dotnet tool install -g volo.abp.cli (Success)

    Step 2: abp login <username> -p <password> (Success)

    Step 3: abp suite install (Error below)

    Internet connection is fine.

  • User Avatar
    0
    alper created
    Support Team Director

    try this

    dotnet tool install Volo.Abp.Suite --add-source https://nuget.abp.io/YOUR-PRIVATE-API-KEY/v3/index.json -g
    

    Make sure to replace the YOUR-PRIVATE-API-KEY with yours (it's in your project's NuGet.Config file)

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

    Thanks for the response. Same issue:

  • User Avatar
    0
    alper created
    Support Team Director

    @Ryan.sposato@ethany.com, I created a new ticket for you. Let's move to https://support.abp.io/QA/Questions/414/ABP-Suite-install-problem

  • User Avatar
    0
    thanhvl1 created

    Hi,

    After upgrade to version 3.1.1, I've got an error when I edit template in Abp Suite

  • User Avatar
    0
    alper created
    Support Team Director

    @thanhvl1 is it an Angular project?

  • User Avatar
    0
    alper created
    Support Team Director

    @thanhvl1 , if you remove Suite and install it again, the problem will be fixed.

    abp suite remove
    abp suite install
    
  • User Avatar
    0
    thanhvl1 created

    thanks @alper, it worked !

  • User Avatar
    0
    edelivery created

    Hi!

    I've created identity-extended module with guide :https://docs.abp.io/en/commercial/latest/ui/angular/entity-action-extensions in version: 2.x.x. it's ok but after I upgraded to version 3.1.0 it has error

    The picture below when I tried to do the guide above, after the v3.x.x I don't see the argument in forRoot(option?: IdentityConfigOptions) like v2.x.x

    This is another error when I remove the argument and use only IdentityConfigModule.forRoot({}), with app-routing

  • User Avatar
    0
    armanozak created

    Hi edelivery,

    Contributors should now be passed to the forLazy static method of the module instead of the config module. Please refer to the extensions documentation updated for v3.

  • User Avatar
    1
    ninomartini created

    Created a new project with ABP Suite (Angular, MongoDB, v3.1.2). The CRUD Page Generator will not generate the Angular code if two or more enum properties defined. I tried uninstalling the ABP Suite and reinstalling. Also trried clearing my NuGet cache without success. This was working in v3.0.5.

    Any other suggestions?

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35