Open Closed

Browser errors for link-users and athourity-delegation #5270


User avatar
0
balessi75 created

ABP Commercial 7.2.1 / Blazor Server / EF / Non tiered / Separate Host and Tenant DBs / Lepton Theme

Hi, on ABP Commercial 7.2.1, we are receiving the following. We reproduced the error with a newly created solution. abp new ABP.Test -u blazor-server -v 7.2.1 -theme lepton

Please advise.

Regards, Brian

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    I will check it

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    liangshiwei created
    Fullstack Developer

    Hi,

    You can try:

    public class TestMenuContributor : IMenuContributor
    {
        public async Task ConfigureMenuAsync(MenuConfigurationContext context)
        {
            if (context.Menu.Name == StandardMenus.User)
            {
                context.Menu.GetMenuItemOrNull("Account.LinkedAccounts").Url = "/account/Manage";
                context.Menu.GetMenuItemOrNull("Account.AuthorityDelegation").Url = "/account/Manage";
            }
        }
    }
    
    public class MyBundleContributor : BundleContributor
    {
        public override void ConfigureBundle(BundleConfigurationContext context)
        {
            context.Files.RemoveAll(x => x.Contains("link-user") || x.Contains("authority-delegation"));
        }
    }
    
    Configure<AbpBundlingOptions>(options =>
    {
        options.ScriptBundles.Configure(
            BlazorLeptonThemeBundles.Scripts.Global,
            bundle =>
            {
                bundle.Contributors.Add<MyBundleContributor>();
                
            }
        );
    });
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    balessi75 created

    Hi @liangshiwei ,

    Thank you! This resolved the issue for us and also taught us a few things about ABP overrides.

    I will close the issue.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
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.8.0-preview. Updated on September 24, 2026, 12:09
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.