Open Closed

ABP commercial Tenant and Edition form bugs #3583


User avatar
0
abpfintranet-1 created

1- There is some bugs in abp tenant settings. When I delete an "Edition" which has been used in a "Tenant", it will be deleted which is wrong and should not be deleted. As a result, when I go to edit this "Tenant", which is using this deleted "Edition", it gives error and can not be edited, as shown in below image:

2- When I want to create a new tenant, the button is disabled probably because of incomplete data in the form fields like edition, email,... and also when password is not complex, but!!! there is no error message and I can not find why the save button is disabled as shown in below image. So, please add an error message there. Thanks


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

    hi

    Thanks. We will check.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    This will be fixed in 6.0

    public virtual async Task DeleteAsync(Edition edition)
    {
        var tenants = await TenantRepository.GetListAsync(editionId: edition.Id);
        if (tenants.Any())
        {
            throw new UnableDeleteEditionException(edition.DisplayName);
        }
    
        await EditionRepository.DeleteAsync(edition);
    }
    
Made with ❤️ on ABP v9.1.0-preview. Updated on December 05, 2024, 12:19