Activities of "DominaTang"

The Angular app stand alone set to true

in app.component.ts file

import { RoutesService, ConfigStateService, ReplaceableComponentsService, eLayoutType, ABP, BaseCoreModule } from '@abp/ng.core';
...
private readonly routes = inject(RoutesService);

OnInit(): void {
this.routes.add([
  {
        path: 'dashboard',
        name: ComponentNames.ES_DASHBOARD,
        iconClass: 'fas fa-chart-line',
        order: 5,
        layout: eLayoutType.application,
        requiredPolicy: Permissions.DASHBOARD_MONITORING_DASHBOARD,
      } as ABP.Route,
]);
}

Above code add additional menu item to left-side menus, however, sometimes, the added menu items are not shown.

When upgrade to Abp 9.1.1, we still keep existing .Net projects instead of single project for each Micro Service. I noticed there are IdentityServiceDynamicPermissionDefinitionsChangedEventHandler.cs and IdentityServiceChangeIdentityPasswordPolicySettingDefinitionProvider.cs which doesn't exist in codebase in ABP 8.

If we keep existing ABP 8 solution layout, do we need to add above files somewhere?

Update ABP Studio to latest version From menu change ABP version 9.1.2, create a new solution (Micro Service) After create the solution, check each .Net project, the ABP package version is 9.1.1

Question

Microservice Template.

In localhost:4200, the console app has this error:

The source code is in this method: function setModuleVisibilityFactory(stream, service, identifier) { return stream.pipe(map(features => features.enable), tap(enable => { const { children, ...tree } = service.find(r => r.name === identifier); tree.invisible = !enable; service.patch(identifier, tree); })); }

After upgrade and deployed the site to QA env,

For the same tenant, some users login, they got this exception in ABP log: /api/account/my-profile [ { "code": "Volo.Authorization:010001", "message": "Authorization failed! Given policy has not granted.", "details": null, "data": null, "validationErrors": null } ]

When we test the ABP 9.1.1 upgrade code, when login via MFA (Phone), sometimes we get 409 error, but nobody else using the same account to login

After upgrade to ABP 9, the component scroll bar is gone. From console log, ERROR TypeError: Cannot read properties of null (reading 'scroll') at DashboardSummaryComponent.scrollToTop

ABP 9.1.1

For String Encryption implemented by ABP https://abp.io/docs/latest/framework/infrastructure/string-encryption Is there a size limitation to for the data to encrypt/decrpt?

Our angular project has account module source code from ABP 7.2.3. The personal-setting.component.ts, when click save button, it calls the line this.configState.refreshAppState(); and throw 500 error. From network table it trying to reach the Administration Micro Service's ps://localhost:44325/api/abp/application-configuration?includeLocalizationResources=false 500 (Internal Server Error) But if directly call Administration Micros service's swagger API, there is no any issue. From the Gateway Log: [INF] Proxying to https://localhost:44367/api/abp/application-configuration?includeLocalizationResources=false HTTP/2 RequestVersionOrLower [INF] Received HTTP/2.0 response 500.

From Administration Micro Service log: 2025-04-29 15:34:28.792 -04:00 [INF] CORS policy execution failed. 2025-04-29 15:34:28.792 -04:00 [INF] Request origin http://localhost:4200 does not have permission to access the resource. 2025-04-29 15:34:28.797 -04:00 [ERR] An error occurred using the connection to database '' on server ''. 2025-04-29 15:34:28.797 -04:00 [ERR] An exception occurred while iterating over the results of a query for context type 'Bdo.Ess.IdentityService.EntityFrameworkCore.IdentityServiceDbContext'. System.InvalidOperationException: The ConnectionString property has not been initialized.

It looks like that Administration Service try to access identity Service and database connection string is empty? The weird thing is, after click go to the home and click save button on use setting page, there is no exception thrown.

MicroService Template

After upgrading from 8.1.x to 9.1.1. When click the user profile icon on top right corner, we has custom code (replace component that only keep my account and logout) menu items.

But the main issue is, when click any of menu item, the browser address URL is actually Auth server's URL. so that the left side menu is empty (not the angular app's left side menu, when click logo icon in left side top, it navigate to Auth server's home page instead of Angular app's home page.

Also we have downloaded source code of Angular account module (Abp 7.2.3) and modify some code. We want to keep using Angular's /account/management, instead of Auth server's manage account. How to do that?

Showing 11 to 20 of 69 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 12, 2025, 10:20