Activities of "enisn"

Do you get 404 even with the forceLoad: true parameter?

I think the request is handled by blazor application. Can you try to navigate that path from an uncached browser or an incognito tab of the browser? Does still return 404?

Also we've started to investigate that logic. I'll respond to you asap

We recognized the problem and created an issue to solve it.

You can track issue#11515.


Also your credit is refunded.

It registers your custom class as IRepository<> and IBasicRepository<>. So, if some class injects one of them, your custom class will be used.

The following Unit Test should explain clearly: https://github.com/abpframework/abp/blob/e3e1779de6df5d26f01cdc8e99ac9cbcb3d24d3c/framework/test/Volo.Abp.Ddd.Tests/Volo/Abp/Domain/Repositories/RepositoryRegistration_Tests.cs#L169

Hi @jhsanc I've made my checks and couldn't catch the same error with that.

Have you checked the Migration Guides and applied them properly?

If yes, which version did you update from?

Do you use multiple instances of that service?

As a logic you're right. It can be a business logic such as you mentioned. But currently, ABP doesn't implement that kind of logic.

The shortest way to perform that operation is overriding IdentityUserAppService

[Dependency(ReplaceServices = true)]
public class MyCustomIdentityUserAppService : IdentityUserAppService
{
    public MyCustomIdentityUserAppService(
        IdentityUserManager userManager, 
        IIdentityUserRepository userRepository, 
        IIdentityRoleRepository roleRepository, 
        IOptions<IdentityOptions> identityOptions) : base(userManager, userRepository, roleRepository, identityOptions)
    {
    }

    public override async Task<ListResultDto<IdentityRoleDto>> GetAssignableRolesAsync()
    {
        var roles = await base.GetAssignableRolesAsync();
        
        if (/* Your condition.*/) // CurrentUser.UserName == "admin"
        {
            var customRoleList = roles.Items.ToList();
            customRoleList.Remove(roles.Items.FirstOrDefault(x => x.Name == "admin"));

            return new ListResultDto<IdentityRoleDto>(customRoleList);
        }

        return roles;
    }
}```

Hi @christophe.baille

Currently, our Saas & Payment modules don't support subscriptions. Also Payment module is built on common features across payment providers. It's an abstraction for multiple payment providers, some of providers can support trial and some of them do not, we can't just implement it for only stripe for now.

For now, you can manually implement stripe requests via overriding SubscriptionService.

Hi @abpdeveloper@dbizsolution.com

Can you share steps to reproduce this problem?

Are you sure that tenant exists in your database with that Id? It might be deleted but your browser still contains it in cookies.

  • Can you share console logs of browser for blazor app?

  • Also can you share your HttpApi.Host logs?

I can't guess the problem right now

Hi @Noura

Can you please just provide information that if is your Item entity inherits from Entity or AuditedEntity ?

Showing 361 to 370 of 489 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30