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:


7 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team 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

  • 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?

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    id and tenant name both ok.

  • 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.

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

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

  • User Avatar
    0
    liangshiwei created
    Support Team 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

  • 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!

Made with ❤️ on ABP v9.1.0-preview. Updated on November 19, 2024, 12:56