Starts in:
0 DAY
0 HR
39 MIN
15 SEC
Starts in:
0 D
0 H
39 M
15 S
Open Closed

Unneccessary validation is displaying. #2258


User avatar
0
krushnakant created
  • ABP Framework version: v4.4.3
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • In Volo.Abp.Identity.Pro module if we delete any record in Identity -> Users and create a new record with same username or email it gives error that username or email already exits.
  • Steps to reproduce the issue:"

4 Answer(s)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Can you check if the deleted user still exists in database?

  • User Avatar
    0
    krushnakant created

    Yes, record is available in database. But Identity User provides soft delete functionality due to which even if the data is deleted, the data remains in the database but the field isDeleted has its value true. Which means if a user of same username/email must be allowed to get inserted after it is deleted and it's entry remains in the Db as a deleted entry.

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    I created a project (v4.4.3) and created-deleted-recreated a user with same username & email. I didn't get any exception.

    Have you made any changes related with soft deletion in your project?

  • User Avatar
    0
    krushnakant created

    No, I don't made any changes related with soft deletion.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06