Activities of "bqabani"

Thank you for your response, Can you provide me more details about the first point:

Typically there is only one hangfire server per application instance, you can use AbpHangfireOptions to create hangfire server instance if you want.

Currently I add hangfire using the following code:

GlobalConfiguration.Configuration.UseSqlServerStorage(configuration.GetConnectionString("Default-hangfire"));
context.Services.AddHangfire(config =>
{
    config.UseSqlServerStorage(configuration.GetConnectionString("Default-hangfire"),  options: ops);
});

Thank you

  • ABP Framework version: v4.2.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

I need to configure Hangfire with abp 4.2.1 I need to do the following: 1- Control the number of instances of each server 2- Divide jobs into queues, I want to add some queues dynamically 3- I need to add more servers (I can create a replica of the Host project), But I need to configure with job work on which server 4- I want to control the time span between jobs in the same queue 5- I want to be able to configure AddHangfireServer not only AddHangfire

Thank you

Dear Support team, any update on the original issue?

Hello,

What is your angular version?

Is the defaultProject property exists in your angular.json?

We know defaultProject deprecated with angular 14. And we fixed proxy generation. The fix will be available in 6.0.2

Same error here, abp version 6.0.1, prompt enter target Angular project to place the generated code. when execute generate-proxy -t ng for the Application Module project type. So what's the time for releasing 6.0.2?

That does not solve the problem!

Dear Support team, any update on the original issue?

Any update Please :) ?

Thank you!

It worked!, I will do some tests and confirm if there is no issues

The defaultProject in angular.json is already set to my project correctly, I did not change it and it was working.

Angular CLI: 12.0.5 Node: 14.18.0 Package Manager: yarn 1.22.5 OS: win32 x64 Angular: 12.0.5

and this is a subset of my packages: "@abp/ng.components": "~4.2.1", "@abp/ng.core": "~4.2.1", "@abp/ng.setting-management": "~4.2.1", "@abp/ng.theme.shared": "~4.2.1", "@angular-devkit/build-ng-packagr": "^0.1002.0", "@angular/animations": "~12.0.2", "@angular/common": "~12.0.2", "@angular/compiler": "~12.0.2", "@angular/core": "~12.0.2", "@angular/fire": "^6.1.5", "@angular/forms": "~12.0.2", "@angular/platform-browser": "~12.0.2", "@angular/platform-browser-dynamic": "~12.0.2", "@angular/router": "~12.0.2", "@volo/abp.commercial.ng.ui": "~4.2.1", "@volo/abp.ng.account": "~4.2.1", "@volo/abp.ng.audit-logging": "~4.2.1", "@volo/abp.ng.identity": "~4.2.1", "@volo/abp.ng.identity-server": "~4.2.1", "@volo/abp.ng.language-management": "~4.2.1", "@volo/abp.ng.saas": "~4.2.1", "@volo/abp.ng.text-template-management": "~4.2.1", "@volo/abp.ng.theme.lepton": "~4.2.1", on devDependencies:

I tried: "devDependencies": { "@abp/ng.schematics": "^4.2.1" and tried "@abp/ng.schematics": "^4.3.3", "@angular-devkit/build-angular": "^12.0.5", "@angular/cli": "^12.0.5", "@angular/compiler-cli": "~12.0.2", "@angular/language-service": "~12.0.2", "@types/jasmine": "~3.5.0", "@types/jasminewd2": "~2.0.3", "@types/node": "^12.11.1",

I did not understand your last post line, do you want me to upgrade abp cli to 6.0.2? what about other tools?

ABP Framework version: v4.2.1

UI type: Angular

DB provider: EF Core

Tiered (MVC) or Identity Server Separated (Angular): no

Steps to reproduce the issue:"

Node Js: v14.18.0 npm: 8.1.4 yarn : 1.22.5

When I run (abp generate-proxy -t ng) in terminal I get this error:

[10:46:47 INF] ABP CLI (https://abp.io)
[10:46:47 INF] Version 4.2.2 (Stable)
[10:46:48 WRN] ABP CLI has a newer stable version 6.0.1, please update to get the latest features and fixes.
[10:46:48 WRN] 
[10:46:48 WRN] Update Command:
[10:46:48 WRN] dotnet tool update -g Volo.Abp.Cli
[10:46:48 WRN]
[10:46:48 WRN] Couldn't determinate version of "@abp/ng.schematics" package.
"SchematicsAbpGenerateProxy" schema is using the keyword "id" which its support is deprecated. Use "$id" for schema ID.
[Project Not Found] Either define a default project in your workspace or specify the project name in schematics options.

I tried to change the id property to schema files in my node_modules folder, so I could get rid of the warning but I still get the same error in last line:

[10:49:13 INF] ABP CLI (https://abp.io)
[10:49:14 INF] Version 4.2.2 (Stable)
[10:49:15 WRN] ABP CLI has a newer stable version 6.0.1, please update to get the latest features and fixes.
[10:49:15 WRN]
[10:49:15 WRN] Update Command:
[10:49:15 WRN] dotnet tool update -g Volo.Abp.Cli
[10:49:15 WRN]
[10:49:15 WRN] Couldn't determinate version of "@abp/ng.schematics" package.
[Project Not Found] Either define a default project in your workspace or specify the project name in schematics options.

I found that I have in my dev dependencies: "@abp/ng.schematics": "^4.3.3" so I downgraded it to "@abp/ng.schematics": "^4.2.1" but still the same error

I tried removing node modules and installing it, I get the same errors

I tried to use abp 4.2.2 or 4.2.1 , I get the same errors

Please note that the system was working but when I upgraded the abp and nodejs and then I rolled back to the same old versions I got the errors above

  • ABP Framework version: v4.2.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Steps to reproduce the issue:"

I added a new controller to the project: Volo.Abp.Account.Pro.Public.Web I created a new controller for a custom scenario, in the api I create a user using IdentityUserManager.CreateAsync , I always get the error messages in English regardless the current context, Please note that I pass to the api in the header: Accept-Language : ar so I expect to get it in Arabic resource not Arabic, or Accept-Language : tr for Turkish

Other localization resources working fine, only resources related to (Volo.Abp.Identity.Localization.IdentityResource) from Volo.Abp.Identity.Domain.Shared , does not work! I tried to add in the constructor: LocalizationResource = typeof(IdentityResource); but did not work, I added dependency to my module : [DependsOn(typeof(AbpIdentityDomainSharedModule))] did not work neither, I tried to inherit my controller from AbpController or from AccountControllerBase did not work neither,

Sample code:

var result = (await this.userManager.CreateAsync(user, input.Password));
    try
    {
        result.CheckErrors();
    }
    catch 
    {
        var msg = result.Errors.FirstOrDefault().Description;
    }

the msg is always : Passwords must be at least 6 characters. // it takes the English resource: Passwords must be at least {0} characters. The expected result must be by current language such as : Şifre en az 6 karakter uzunluğunda olmalı. or يجب أن تتكون كلمات المرور من 6 حرف على الأقل.

I also tried the following solution but I got: System.NullReferenceException: Object reference not set to an instance of an object. link

public IExceptionToErrorInfoConverter ExceptionToErrorInfoConverter { get; }
var result = (await this.userManager.CreateAsync(user, input.Password));
try
{
    result.CheckErrors();
}
catch(AbpIdentityResultException e)
{   
    var msg = ExceptionToErrorInfoConverter.Convert(e, false).Message;
}

Please note that I have posted this question to another link but it was closed without being able to reply

Any update?

Showing 11 to 20 of 43 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11