Open Closed

Deleting an organization with members raises an exception #323


User avatar
0
yuhang.ji@yftech-dl.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.

  • ABP Framework version: v3.0.4
  • UI type: MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Deleting an org contains member will raise an exception: Entity OrganizationUnit not exist: id = xxxxxxxx

I have to remove all the members from the org, then delete the org.


2 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    I used app-pro V3.0.4 template but can't reproduce your problem. Can you provide steps to reproduce? thanks.

  • User Avatar
    0
    yuhang.ji@yftech-dl.com created

    OK it's my mistake.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 18, 2025, 07:10