Opened 5 years ago
Closed 4 years ago
#522 closed Defect (fixed)
Deleting initial admin account corrupts Elgg site
| Reported by: | kevinjardine | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Core | Version: | 1.0 |
| Severity: | major | Keywords: | |
| Cc: | brettp | Difficulty: |
Description
One of my clients created several admin accounts and decided to delete the initial admin account (user_guid 2).
This caused numerous plugin failures, including the failure of the user admin display itself (replaced with a "Failed to load new ElggUser from GUID:3" message).
I think that either the delete should be clean or Elgg should stop this initial user account from being deleted.
(This was an Elgg 1.0 site - have not attempted to duplicate under Elgg 1.1 yet.)
Change History (4)
comment:1 Changed 4 years ago by marcus
comment:2 Changed 4 years ago by marcus
- Resolution set to duplicate
- Status changed from new to closed
Replaced by #640
comment:3 Changed 4 years ago by marcus
- Resolution duplicate deleted
- Status changed from closed to reopened
Reopened as this is a separate issue from #640.
comment:4 Changed 4 years ago by marcus
- Resolution set to fixed
- Status changed from reopened to closed
Closed as this is now handled in user and group deletion. Deletion of initial admin will recursively delete owned data leaving a clean site. Further addressed by #755.

Related to #282