- 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)
-
0
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
-
0
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?
-
0
Hi,
id and tenant name both ok.
-
0
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.
-
0
Hi,
It seems a problem, I will check it. fow now, you can use Id instead of name.
-
0
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
-
0
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!