Activities of "liangshiwei"

Hi,

I will check it out

Since you are a commercial customer, you can get support here, Commercial customers have the highest priority.

If it's a bug, we will refund your ticket.

Hi,

Can you share a project with me? shiwei.liang@volosoft.com I will check it out.

Hi,

You can check this: https://support.abp.io/QA/Questions/3327/#answer-51baf847-087a-2aa1-1d76-3a04d9420894

Hi,

Yes, AbpRefreshEditionIdFilter was a problem, you can use the following code:

public class AbpRefreshEditionIdFilter : IHubFilter
{

    public virtual async ValueTask<object> InvokeMethodAsync(HubInvocationContext invocationContext,
        Func<HubInvocationContext, ValueTask<object>> next)

    {
        var currentTenant = invocationContext.ServiceProvider.GetRequiredService<ICurrentTenant>();
        var currentUser = invocationContext.ServiceProvider.GetRequiredService<ICurrentUser>();

        if (!currentUser.IsAuthenticated || !currentUser.TenantId.HasValue)
        {
            return await next(invocationContext);
        }

        var tenantStore = invocationContext.ServiceProvider.GetRequiredService<ITenantRepository>();
        var currentPrincipalAccessor = invocationContext.ServiceProvider.GetRequiredService<ICurrentPrincipalAccessor>();
        var tenant = await tenantStore.FindAsync(currentTenant.GetId());

        var claimsIdentity = currentPrincipalAccessor.Principal.Identities.First();
        
        var editionId = tenant.GetActiveEditionId();
        if (editionId != null)
        {
            claimsIdentity.AddOrReplace(new Claim(AbpClaimTypes.EditionId, editionId.Value.ToString()));
        }
        else
        {
            foreach (var x in claimsIdentity.FindAll(AbpClaimTypes.EditionId).ToList())
            {
                claimsIdentity.RemoveClaim(x);
            }
        }

        using (currentPrincipalAccessor.Change(claimsIdentity))
        {
            return await next(invocationContext);
        }

    }
}

Hi,

it's on our roadmap, but not a high priority. if you need this, you can implement it yourself

Hi,

Because you are using the protected set for ProductUpdateDto. just need to remove protected and it will work.

Hi,

Got it, checking.

HI,

May I ask which UI and ABP version are you using?

Hi,

It looks like no problem, Can you share a project with me or full steps to reproduce? shiwei.liang@volosoft.com I will check it out.

Hi,

I created an internal issue to discuss, I will let you know if there is any news.

Showing 4861 to 4870 of 6693 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.