0
brike.kuo@authme.com created
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:
- host saas > choose tenant > action > ChangePassword
- type invalid password and save (ui will tell you save successed)
- will see "Passwords must have at least one non alphanumeric character" log loop
- do step 2 again
- will see "Optimistic concurrency failure, object has been modified" and "Passwords must have at least one non alphanumeric character" log loop
- and because of the concurrency error, no one can update admin user until delete that two update password event manually
4 Answer(s)
-
0
hi
I test this in the 7.1 project and it seems to work as expected.
-
0
-
0
Thanks, I will try again.
-
0
We will fix the issue in the next patch version, You question credit refunded.