Deleting user not possible: Failed to delete record. Make sure that the record is not part of a required relation reference. #411
-
Hi, This message appears in the front end (/users/) as in the backend (/_/) page... Do you have any idea, how to analyse the problem and - more important - to get rid of it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hm, I've just tried to replicate this, but couldn't. What I tried:
Have you found any consistent steps to replicate this? The only other relation that users have besides permissions is the If the user you want to delete is assigned to any |
Beta Was this translation helpful? Give feedback.
-
Hi, thanks so far for your message. I also tried to replicate the behaviour on an clean new install with several users, but I also couldn't. What I could do to replicate is a backup of the database. If I backup the db and restore it on a clean install, the same behaviour occurs. Is it usefull for you to get the db from me? |
Beta Was this translation helpful? Give feedback.
Thanks for the database. I have found the problem. It was not possible to delete users if they had a relation in the
permissions
table.The frontend first tried to delete the user and then the permissions. I have now changed this and it should now work in version 4.2.4