Activities of "trannguyenphucanh"

  • ABP Framework version: v8.0.4
  • UI Type: Angular
  • Database System: EF Core (MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi Support Team,

I encountered this issue after brought the framework to develop environment, got my App client uris modified:

The error:

Access log from nginx server:

connect() failed (111: Connection refused) while connecting to upstream, client: 115.79.30.28, server: dev-api-bts.belfor.asia, request: "GET /api/abp/application-configuration HTTP/2.0", upstream: "http://172.16.220.21:44355/api/abp/application-configuration", host: "dev-api-bts.belfor.asia", referrer: "https://dev-bts.belfor.asia/

Could you guys take a look? I assume it is due to the migration from IdentityServer toOpenIdDict. I already overridden docker-compose.yml environment variables following the new appsettings.json in DbMigrator:

Am I missing a configuration or something?

Nevermind, I found and modified response from the service call IdentityUserService, thus resolved the problem:

The return dto OrganizationUnitLookupDto only contains Id and DisplayName, what I am looking for is the ParentId field as well. Before upgrade, I handled the dropdown so that I could add indents as below:

Here was the code, called another sorted list and handled HTML elements:

  ngAfterViewInit(): void {
    var organizationUnit = document.querySelector("#organizationUnitIdFilter");
    var option = '';
    this.orgService.getOrganizationUnitsList().subscribe(
      data => {
        this.countryOptions = data;
        var index = 1;
        this.countryOptions.forEach(element => {
          let spaceChild = '';
          if (element.parentId) {
            spaceChild = '<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>';
          }
          option += '<option value="' + index++ + ': ' + element.id + '"' + ' [hidden]="' + element.isDisabled + '">' + spaceChild + element.displayName + '</option>';
        })
        organizationUnit.innerHTML = '<option></option>' + option;
      },
      error => {
        console.log(error);
      }
    );
  }

After upgraded, the dropdown looks the same, but Id input seems from the original list without ngAfterViewInit:

For example, if I select China, then Id of 946 Singapore is passed.

Do you have any idea?

Hi maliming,

Thanks. But it doesn't seem to include the API endpoint calling the method that I want to expose:

Could you be more specific?

  • ABP Framework version: v8.0.4
  • UI Type: Angular
  • Database System: EF Core (MySQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hi Support Team,

I want to customize method logic of the below API endpoint api/identity/users/lookup/organization-units, but I am unable to find the method anywhere in your source code:

There is IdentityUserLookupController.cs, but it doesn't declare the method:

Where do I find it for service exposing?

Thanks. I added { "input": "node_modules/ng-zorro-antd/tree/style/index.min.css", "inject": false, "bundleName": "ng-zorro-antd-tree" } to styles array in angular.json file and restart the project. Issue was gone:

Hi sinan, thanks for that. But looks like those are lepton-x, I am keeping the old lepton theme.

Do you have corresponding stylesheets for lepton?

Edit: One more thing, the flags in language settings dropdown have been disappeared:

Could you take a look?

Hi, just upgraded to v8, now the checkboxes were replaced by another icon:

How can I revert them to my checkboxes?

Hi, any update?

Edit: Nevermind, I downgraded all angular libraries to ~17.0.0, all errors are gone.

Thanks. I resolved by importing either @abp/ng.components/extensible or @abp\ng.theme.shared instead.

One more thing, I encountered yet another issue:

../../node_modules/@angular/common/fesm2020/common.mjs:3049:12-32 - Error: export '╔╡╔╡InputFlags' (imported as 'i0') was not found in '@angular/core'

The latest @angular/core version has fesm2022 folder instead of fesm2020:

Here is my CLI details:

Showing 21 to 30 of 64 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.