Käyttäjän "ninomartini" toiminnot

Thank you for your quick response. According to one of your earlier responses, I thought that _dataFilter.Disable<IMultiTenant>() would achive my goal.

[ How to inject a repository to supply all the tenantfull and tenantless records of a database table? #115](https://support.abp.io/QA/Questions/115/How-to-inject-a-repository-to-supply-all-the-tenantfull-and-tenantless-records-of-a-database-table)

When and how is _dataFilter.Disable<IMultiTenant>() applied?

ABP Framework version: v2.9 UI type: Angular Tiered (MVC) or Identity Server Seperated (Angular): no

I have a console application that needs to modify records accross multiple tenants. The console application uses the host admin credentials. I tested out the code below without success:

using (_dataFilter.Disable<IMultiTenant>())
{
    var unit = await _unitAppService.GetAsync(Guid.Parse("ED9D4AC2-BC3F-1FA4-71D6-39F5F9048F20"));
    Console.WriteLine(unit.UniqueIdentifier);
}

I get the following error:

**Volo.Abp.Http.Client.AbpRemoteCallException: 'There is no entity Unit with id = ed9d4ac2-bc3f-1fa4-71d6-39f5f9048f20!'**

If I change the console application to the tenant's credentials and use ICurrentTenant to change the tenant I can find the record.

Any thoughts on what I am doing wrong?

Vastaus

@sean.alford,

Thank you for the suggestion. Unfortunately, it did not work for me. I get the error below:

error NU1101: Unable to find package volo.abp.suite. No packages exist with this id in source(s): ABP Nightly, C:\Program Files\dotnet\sdk\NuGetFallbackFolder, Microsoft Visual Studio Offline Packages, nuget.org
The tool package could not be restored.
Tool 'volo.abp.suite' failed to install. This failure may have been caused by:

* You are attempting to install a preview release and did not use the --version option to specify the version.
* A package by this name was found, but it was not a .NET Core tool.
* The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
* You mistyped the name of the tool.

For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool
Vastaus

I am trying to install v2.9 of the Cli and Suite. I can install a specific verion of the ABP Cli with the following command:

dotnet tool install -g volo.abp.cli --version 2.9

How can I install a specific version of ABP Suite? The following command is loading ABP Suite 3.0

abp suite install
Vastaus

FYI. Angular project using ABP and ABP Suite 2.9.

User is unable to update their email address from "Manage your profile". The only way to update the user address is from Administration -> Idenentity Managment -> Users.

Vastaus

FYI. Angular project using ABP and ABP Suite 2.9.

The CRUD Page generator is adding a space to enums when more than one uppercase character is used.

C# Enum

public enum BillingPeriodType
{
    Monthly=1,
    Quarter=2,
    SemiAnnual=3,
    Annual=4
}

Enum generated in Angular (notice the space in semi annual)

export enum BillingPeriodType {
    Monthly = 1,
    Quarter = 2,
    Semi annual = 3,
    Annual = 4
}

Keep up the great work, I like what I am seeing.

  • ABP Framework version: v2.9.0

Would you please provide guidance on why I am unable to install ABP Suite v2.9.0. Here are the steps taken:

Step 1: dotnet tool install -g volo.abp.cli (Success)

Step 2: abp login <username> -p <password> (Success)

Step 3: abp suite install (Error below)

Thank you in advance

Vastaus

@mehmet Thank you for informtion theCurrentUserImageComponent.

Vastaus

@alper Yes, Angular 2.7.

Vastaus

Account self registration not displaying correctly when switching tenants. When switching tenants, the login page does not show or hide the register link correctly unless the page is refreshed.

Steps to reproduce:

  1. Tenant-A has sef-registraion enabled
  2. Tenant-B has self registration disabled
  3. When switching from Tenant-A to Tenant-B on login form--the register link is showing even though the Tenant has self registration disabled
  4. Refreshing the page (F5) will hide the register link
Näytetään 21 - 30/33 tietueesta
Made with ❤️ on ABP v8.2.0-preview Updated on maaliskuuta 25, 2024, 15.11