Open Closed

Missing menu items #7799


User avatar
0
sgarad created
  • ABP Framework version: 8.2.1
  • UI Type: Angular
  • Database System: MySQL
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:none
  • Steps to reproduce the issue:

Hi,

I've created an microservices application using ABP Studio and started all services/gateway/authserver and Angular application. I see the databases for each service is created when I browse and login to Angular application I do not see the multiple menu items like Auditing/OpenIddict/Saas on the menu list. After digging some more I see that in my Administration service database does not contains any permissions groups and permissions.

Even my own microservices permissions groups and permissions are not added.

Thanks Krishna


8 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Have you gotten any error logs in your microservices?

  • User Avatar
    0
    sgarad created

    hi

    Have you gotten any error logs in your microservices?

    Hi,

    This is the new database so initially I got Database does not exists exceptions but once the migrations are applied I started getting below error where I do not have any tenants created yet.

    9/3/2024 5:00:30 PM [Information] Found 1 events in the outbox. 9/3/2024 5:00:31 PM [Error] Could not perform tenant created event. Canceling the operation. TenantId = 3a148325-10a8-1caa-e17d-3b436fa27506, TenantName = Tenancy_Test. 9/3/2024 5:00:31 PM [Error] System.NullReferenceException: Object reference not set to an instance of an object. at Volo.Abp.EntityFrameworkCore.Migrations.EfCoreDatabaseMigrationEventHandlerBase1.MigrateDatabaseSchemaAsync(Nullable1 tenantId) at Volo.Abp.EntityFrameworkCore.Migrations.EfCoreDatabaseMigrationEventHandlerBase`1.HandleEventAsync(TenantCreatedEto eventData)

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @sgarad

    Does the problem persist after you give the missing permissions to admin on Identity Management>Roles page? or are not they present in permissions window?

  • User Avatar
    0
    sgarad created

    Hi @sgarad

    Does the problem persist after you give the missing permissions to admin on Identity Management>Roles page? or are not they present in permissions window?

    Hi,

    Those permissions are not available in permissions window. Those permissions groups are not created. I've attached the screenshot above in original post.

    Thanks Krishna

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Can you share the Solution Configuration? I will try to reproduce the problem.

  • User Avatar
    0
    sgarad created

    Can you share the Solution Configuration? I will try to reproduce the problem.

    Hi,

    I don't see an option for configuration. I'm using enterprise edition.

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    I don't see an option for configuration. I'm using enterprise edition.

    You are probably not using the latest ABP Studio version, or the solution is created with a older version.

    Now i'm trying to reproduce with the following configuration:

    • Angular
    • EfCore (MySQL)

    I'll inform you.

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    I could not reproduce the problem. SaaS & Audit Logging permissions were listed, but not given to admin user (we are already aware of this and will solve in future releases). After permissions are given, menu items appeared.

    My suggestion for your case:

    • Delete existing databases
    • Run the applications in the following order:
      • Docker dependencies
      • Administration service
      • Identity service
      • Other services one by one

Made with ❤️ on ABP v9.0.0-preview Updated on September 19, 2024, 05:23