Activities of "mert.kir"

  • ABP Framework version: v8.3.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Steps to reproduce the issue:
  1. A project is created using the Lepton Theme with the code below.
  2. Login with a tenant
  3. Go to Administration -> Settings -> Lepton Theme, and change Menu placement to "Top."
  4. When clicking on the profile photo at the top right, the username moves to the next line.

Expected Result: The tenant and username should appear side by side as it does when Menu placement is set to "Left."

abp new MyApp -u angular -t app-pro --theme lepton -m none --separate-auth-server --database-provider ef -csf

Note: The username moves to the next line because the display: block style is applied to the body.lp-topmenu header .toolbar-nav .dropdown-menu strong class.

  • ABP Framework version: v8.3.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes (Auth Server Separated)
  • Steps to reproduce the issue:
  1. Create a new ABP project using the following command: abp new MyApp -u angular -t app-pro --theme lepton -m none --separate-auth-server --database-provider ef -csf
  2. Log in with the Host user.
  3. Resize the browser window so that only two buttons are visible on the navigation bar.
  4. Attempt to click on these buttons.

Expected Result: The menu should open when clicking on the buttons.

  • ABP Framework version: v8.3.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server, PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes (Auth Server Separated)
  • Steps to reproduce the issue:
  1. Create a new ABP project using the following command: abp new MyApp -u angular -t app-pro --theme lepton -m none --separate-auth-server --database-provider ef -csf
  2. Start the Angular project and open the homepage. Notice that the CSS for the Lepton theme is not loaded.
  3. To resolve this, set one of the CSS files (e.g., lepton5.min.css) to inject: true in the angular.json file.
  4. After restarting the application, the page loads with Style 5. However, switching to other theme styles does not work as expected.

Expected behavior: The theme should automatically inject the necessary CSS files when loading, without manual intervention.

  • ABP Framework version: v8.3.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes (Auth Server Separated)
  • Steps to reproduce the issue:
  1. Log in with the Host user.
  2. Navigate to Administration > OpenID > Applications.
  3. Create a sample application (e.g., MyClient).
  4. Go to Actions and open the Edit page for the application.
  5. Notice the Enabled checkbox option. Check this option, save the changes, and reopen the Edit page.

Issue: After reopening the Edit page, the Enabled checkbox appears unchecked, even though it was selected and saved previously.

This checkbox setting is not displayed correctly on the UI. What is the expected functionality for this setting?

NOTE: To test this issue, you can create a sample project using the following command: abp new MyApp -u angular -t app-pro --theme lepton -m none --separate-auth-server --database-provider ef -csf

  • ABP Framework version: v8.3.2
  • UI Type: Angular
  • Database System: EF Core (SQL Server, PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:

After upgrading from ABP 8.2.3 to 8.3.2, I encountered a runtime error related to dependency injection. The error appears when launching the application and states:

RuntimeError: NG0203: inject() must be called from an injection context such as a constructor, a factory function, a field initializer, or a function used with `runInInjectionContext`.
The error seems to originate from services like ToasterService and LinkLoginHandler. Prior to the upgrade, the application was working without this issue. I've attached a screenshot of the console output for reference.

Steps to Reproduce:

  1. Upgrade from ABP 8.2.3 to 8.3.2.
  2. Start the Angular application.
  3. Observe the console logs for the injection-related errors.

Expected Behavior: The application should run without dependency injection errors after the upgrade.

Actual Behavior: The application fails to properly inject services, leading to runtime errors and a disrupted user experience.

Note: We are using the Lepton theme in our Angular project Also, could you provide guidance on how to specify the Lepton theme when creating a new project using the ABP CLI? The current documentation only mentions creating projects with the --theme parameter for Basic or Lepton-X themes. However, we are specifically using the Lepton theme. How should the command be structured to use Lepton as the theme?

  • ABP Framework version: v8.2.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server, PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Steps to reproduce the issue: -> Log in as a Host. -> Click the "Settings" button under the Administration menu. -> Review the Account, Identity Management, and Lepton Theme pages from the left side of the screen.

The Account and Identity Management pages now occupy only 50% of the screen width, whereas the Lepton Theme page opens at 100% width. Recently, we upgraded our ABP version from 6.0.3 to 8.2.3. Previously, all these pages were displayed at 100% width. We have also set newly added pages to open at 100% width for consistency. However, there is now an inconsistency where some pages use 50% width while others use 100%. Could you restore the previous behavior so that all pages open at 100% width?

Before ABP Update

  • ABP Framework version: v8.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:

An error occurred while checking the libs folder! System.ArgumentException: The path must be absolute. (Parameter 'root') at Microsoft.Extensions.FileProviders.PhysicalFileProvider..ctor(String root, ExclusionFilters filters) at Volo.Abp.AspNetCore.Mvc.Libs.AbpMvcLibsService.CheckLibsAsync(HttpContext httpContext)

  • Steps to reproduce the issue:
  • In Abp version 8.3, a new project is created and the HttpApi.Host project is run and the console logs are examined at that time.
  • It is seen that the Swagger page has arrived, but there is also an error in the console logs

I am encountering an issue in the AbpMvcLibsService class where httpContext.RequestServices.GetRequiredService<IWebHostEnvironment>().WebRootPath returns null. This causes an error as the PhysicalFileProvider class does not accept null values.

As a temporary workaround, I created a wwwroot directory in the folder structure of the HttpApi.Host project. Inside this directory, I added a libs folder and created a dummy file within it. This resolves the issue temporarily, but I would appreciate your assistance in addressing the root cause of this problem and finding a proper solution.

Thank you for your support!

  • ABP Framework version: v6.0.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server, PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes

When I try to reach the Domain Service with the Service Provider in DataSeedContributor, I get the error as follows. How can I use Domain Service methods in the DataSeedContributor class?

Autofac.Core.DependencyResolutionException: An exception was thrown while activating Example.Project.Entities.EntityDomainService. ---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Example.Project.Entities.EntityDomainService' can be invoked with the available services and parameters:

  • ABP Framework version: v6.0.5
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Steps to reproduce the issue:"
  1. After logging in with the host, the Email feature is enabled and the screen for editing Email information is opened from the settings.
  2. The user interface language of the product is set to Turkish.
  3. In the Email settings, the 'Password' field should be corrected to 'Şifre' with a capital letter at the beginning. Additionally, instead of the 'Save' button at the bottom, its Turkish translation should be used.
  4. When the 'Send test email' button is clicked, the modal that appears on the page has the title 'SendTestEmail', and the 'Send' and 'Close' buttons on the page are displayed in English. Their Turkish translations are not displayed.
  5. The interface language is set to English and the test mode is turned on again. The mode title appears as 'SendTestEmail' as in Turkish. There should be spaces between words. (Send Test Email)

I am experiencing localization issues, as seen in the above images. How can we fix them?

We use Abp Db migrator in our CI/CD pipeline to apply migrations forward. However in a production environment when an upgrade causes an unexpected behaviour/bug, it is also needed to rollback to the previous version of the app with the matching db structure. Since DB Migrator is used to apply migrations forward, I guess it is a good candidate to make the rollback as well. I wonder if it is possible to add this feature to the framework and if it is already in the roadmap for some future relaeses. If not could you please explain why this feature is not covered in any future time?

IMO the following features may be included to the DB Migrator:

  • Rollback to the previous (or any) version
  • Should support multitenancy and multiple DBs for different tenants considering the performance issues
  • Logs should be extended to help understanding any problem if occurs
  • Seed data contributors may be considered as well
Showing 1 to 10 of 15 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.0.0-preview. Updated on July 09, 2025, 06:20