Activities of "talhazengin"

  • ABP Framework version: v4.4.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Identity Separeted (Angular)
  • Exception message and stack trace: "There is no entity OrganizationUnit with id = 4a98a610-49a2-47f0-86af-4be6287081a3!"
  • Steps to reproduce the issue:
  1. Go to organization units page
  2. Add a unit and click on it or click on an existing one
  3. Right click on the unit and delete it
  4. Click the tab that is not highlighted from right panel ("members" or "roles")

Expected Result: There shouldn't be a button that is linked to a unit (clickable) after the unit is deleted Actual Result: Since the unit no more exists, when we clicked the tab linked to it an error window pops up.

I see this now :) applying the stuff in below article solves the problem. https://support.abp.io/QA/Questions/1360/Cannot-create-a-new-tenant-after-migrating-to-430

I can confirm that the problem still exists and changing the database option "Is Read Committed Snapshot On" does not solve the problem.

There was no such problem before versions 4.3.* of ABP. What could be the change?

WE STILL NEED HELP!

Answer

Creating a new tenant does not creates an admin user for that tenant. chris.tune@gmail.com is right.

ABP Framework version: v4.3.0 (new template) UI type: Angular DB provider: EF Core Identity Server Separated: yes Exception message and stack trace: No error.

Steps: Create a tenant, you will see it won't add an admin user for that tenant.

Ok i solved this with adding below line in DBMigrator Service configuration steps:

context.Services.AddTransient<MyPermissionDataSeedContributor>();

Is this the right approach?

I applied this, but below error shows up when running DbMigrator:

The requested service '...MyPermissionDataSeedContributor' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency. Autofac.Core.Registration.ComponentNotRegisteredException: The requested service '...MyPermissionDataSeedContributor' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.

I want to define admin user's default permissions. By default admin user gets grant for all permissions. But i want to give that role only specific permissions.

Currently i didn't find any consistent solution.

I solved this before with a workaround, i think. Suite looks for "angular" and "aspnetcore" folders outside of my backend aspnet project. I added "angular" and "aspnecore" folders. Problems is gone and i didn't test it in the newer versions.

Error detail.

Is there any log file for ABP Suite? Maybe we can follow the errors like this.

Showing 1 to 10 of 95 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11