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!
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.
Is there any log file for ABP Suite? Maybe we can follow the errors like this.