Activities of "brike.kuo@authme.com"

hi

I test this in the 7.1 project and it seems to work as expected.

I tried in 7.1, still got exception loop and I found that even not redo password edit, the concurrency error still occured

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v7.0.1

  • UI type: Angular

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes

  • Exception message and stack trace:

    Volo.Abp.Identity.AbpIdentityResultException: Passwords must have at least one non alphanumeric character.
    at Microsoft.AspNetCore.Identity.AbpIdentityResultExtensions.CheckErrors(IdentityResult identityResult)
    at Volo.Abp.Identity.UserPasswordChangeRequestedEventHandler.HandleEventAsync(UserPasswordChangeRequestedEto eventData)
    at Volo.Abp.EventBus.EventHandlerInvoker.InvokeAsync(IEventHandler eventHandler, Object eventData, Type eventType)
    at Volo.Abp.EventBus.EventBusBase.TriggerHandlerAsync(IEventHandlerFactory asyncHandlerFactory, Type eventType, Object eventData, List`1 exceptions, InboxConfig inboxConfig)
    at Volo.Abp.EventBus.EventBusBase.ThrowOriginalExceptions(Type eventType, List`1 exceptions)
    at Volo.Abp.EventBus.EventBusBase.TriggerHandlersAsync(Type eventType, Object eventData)
    at Volo.Abp.EventBus.RabbitMq.RabbitMqDistributedEventBus.ProcessEventAsync(IModel channel, BasicDeliverEventArgs ea)
    at Volo.Abp.RabbitMQ.RabbitMqMessageConsumer.HandleIncomingMessageAsync(Object sender, BasicDeliverEventArgs basicDeliverEventArgs)
    
    Volo.Abp.Identity.AbpIdentityResultException: Optimistic concurrency failure, object has been modified.
    at Microsoft.AspNetCore.Identity.AbpIdentityResultExtensions.CheckErrors(IdentityResult identityResult)
    at Volo.Abp.Identity.UserPasswordChangeRequestedEventHandler.HandleEventAsync(UserPasswordChangeRequestedEto eventData)
    at Volo.Abp.EventBus.EventHandlerInvoker.InvokeAsync(IEventHandler eventHandler, Object eventData, Type eventType)
    at Volo.Abp.EventBus.EventBusBase.TriggerHandlerAsync(IEventHandlerFactory asyncHandlerFactory, Type eventType, Object eventData, List`1 exceptions, InboxConfig inboxConfig)
    at Volo.Abp.EventBus.EventBusBase.ThrowOriginalExceptions(Type eventType, List`1 exceptions)
    at Volo.Abp.EventBus.EventBusBase.TriggerHandlersAsync(Type eventType, Object eventData)
    at Volo.Abp.EventBus.RabbitMq.RabbitMqDistributedEventBus.ProcessEventAsync(IModel channel, BasicDeliverEventArgs ea)
    at Volo.Abp.RabbitMQ.RabbitMqMessageConsumer.HandleIncomingMessageAsync(Object sender, BasicDeliverEventArgs basicDeliverEventArgs)
    
  • Steps to reproduce the issue:

    1. host saas > choose tenant > action > ChangePassword
    2. type invalid password and save (ui will tell you save successed)
    3. will see "Passwords must have at least one non alphanumeric character" log loop
    4. do step 2 again
    5. will see "Optimistic concurrency failure, object has been modified" and "Passwords must have at least one non alphanumeric character" log loop
    6. and because of the concurrency error, no one can update admin user until delete that two update password event manually
  • ABP Framework version: v5.3.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): microservice
  • Exception message and stack trace: "The instance of entity type 'ClientSecret' cannot be tracked because another instance with the same key value for {'ClientId', 'Type', 'Value'} is already being tracked. When attaching existing entities, ensure that only one entity instance with a given key value is attached. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values."
  • Steps to reproduce the issue:
    1. add secret to client and save it
    2. edit client => update something(ex. description) except secret => save
    3. get exception

I think it's because client secrets map to "****" from 5.3.0, and UpdateClientSecrets find exist secret by value but secrets from dto will be "*****".

  • ABP Framework version: v5.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  1. yarn install angular project withour existed yarn.lock (in docker image build)
  2. and then it will get 5.0.2 dependency but not 5.0.0 abp version on my package.json is 5.0.0↓

but there are same bug on 5.1.1 and 5.0.2 that is string-utils.ts

export function escapeHtmlChars(value: string) {
  return (
    value &&
    value.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;')
  );
}

audit log list has "execution duration" column, and that is number not string, so it will throw exception on value.replace

it's fixed on 5.1.2.

  • ABP Framework version: v5.1.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  1. use Volo.FileManagement
  2. build on linux system

Volo.Filemanagement can't build on linux system, because the path is badly formed


  • ABP Framework version: v5.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
  1. yarn install angular project withour existed yarn.lock (in docker image build)
  2. and then it will get 5.0.2 dependency but not 5.0.0 abp version on my package.json is 5.0.0↓

but there are same bug on 5.1.1 and 5.0.2 that is string-utils.ts

export function escapeHtmlChars(value: string) {
  return (
    value &&
    value.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;')
  );
}

audit log list has "execution duration" column, and that is number not string, so it will throw exception on value.replace this problem fixed on 5.1.2, but because the Volo.FileManagement problem so I can't update my project to 5.1.2, and even I keep my project on 5.0.0 it will have problem because it get 5.0.2 dependency

Answer

ABP Version 5.1.2 Volo.Filemanagement can't build on linux system, because the path is badly formed

Showing 1 to 6 of 6 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35