Activities of "liangshiwei"

Hi,

It will take a while and you will need to fix it locally

https://support.abp.io/QA/Questions/6497#answer-3a104c91-1b30-e775-0db8-b0a1b839ee35

https://github.com/abpframework/abp/issues/18961

Hi,

This is because the LanguageText is a multi-tenant entity.

You can try this:

[ExposeServices(typeof(DynamicResourceLocalizer), typeof(IDynamicResourceLocalizer))]
public class MyDynamicResourceLocalizer : DynamicResourceLocalizer
{
    private readonly ICurrentTenant _currentTenant;
    
    public MyDynamicResourceLocalizer(IServiceScopeFactory serviceScopeFactory, IDistributedCache<LanguageTextCacheItem> cache, ICurrentTenant currentTenant) : base(serviceScopeFactory, cache)
    {
        _currentTenant = currentTenant;
    }

    public override LocalizedString GetOrNull(LocalizationResourceBase resource, string cultureName, string name)
    {
        using (_currentTenant.Change(null))
        {
            return base.GetOrNull(resource, cultureName, name);
        }
    }

    protected override LanguageTextCacheItem GetCacheItem(LocalizationResourceBase resource, string cultureName)
    {
        using (_currentTenant.Change(null))
        {
            return base.GetCacheItem(resource, cultureName);
        }
    }

    protected override Task<LanguageTextCacheItem> GetCacheItemAsync(LocalizationResourceBase resource, string cultureName)
    {
        using (_currentTenant.Change(null))
        {
            return base.GetCacheItemAsync(resource, cultureName);
        }
    }
}

Hi,

I guess the redirect URL is not allowed

You can check the RedirectAllowedUrls

Hi,

Could you also the CORS error screenshot of Bowser's console tab?

Hi,

This is not related to ABP.

The HTTP request which makes use of CORS failed because the HTTP connection failed at either the network or protocol level. The error is not directly related to CORS, but is a fundamental network error of some kind.

You can check this: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSDidNotSucceed

Can you share a project?

Hi,

have you tried this? https://docs.abp.io/en/abp/latest/Multi-Tenancy#domain-subdomain-tenant-resolver

Hi,

I can reproduce the problem. we will check it.

Hi,

We will check it.

Showing 2531 to 2540 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.