Open Closed

4.0.2 Upgrade 4.4.3 & Bugs & Tenant Exception #2085


User avatar
0
dev01 created
  • ABP Framework version: v4.4.3
  • UI type: Angular
  • DB provider: MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hello, we have a URL like this (http://localhost:4200/test?__tenant=tenantname), in version 4.0.2, the access is normal. However, after upgrading version 4.4.3, the access error occurred. Is this what is the reason? Screenshot below:

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

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

    Hi,

    Can you check these document first?

    https://docs.abp.io/en/abp/latest/Migration-Guides/Index https://docs.abp.io/en/commercial/latest/migration-guides/index

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

    Hi,

    Can you check these document first?

    https://docs.abp.io/en/abp/latest/Migration-Guides/Index https://docs.abp.io/en/commercial/latest/migration-guides/index

    Hello, [ __tenant=??? ] this parameter should pass tenant id or tenant name?

    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,

    id and tenant name both ok.

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

    Hi,

    id and tenant name both ok.

    Hello, create a project of version 4.4.3, [ __tenant=??? ] pass the tenant Id can be accessed normally, but pass the tenant name access failed, the error message is the above screenshot.

    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,

    It seems a problem, I will check it. fow now, you can use Id instead of name.

    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,

    I tried with 4.0.2, actually the front-end did not resolve the tenant, so there was no error.

    This is the recommended way to implement multi-tenancy in Angular, you can check it: https://docs.abp.io/en/abp/latest/UI/Angular/Multi-Tenancy#domain-subdomain-tenant-resolver

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

    Hi,

    I tried with 4.0.2, actually the front-end did not resolve the tenant, so there was no error.

    This is the recommended way to implement multi-tenancy in Angular, you can check it: https://docs.abp.io/en/abp/latest/UI/Angular/Multi-Tenancy#domain-subdomain-tenant-resolver

    OK, thanks!

    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 09, 2026, 11:56
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.