Forum OpenACS Development: Re: Deleting a user throws errrors
it is in general not trivial to completely remove a user. What if, for instance, this was the creator of a forum? Would we want to completely delete this forum also (and all its potentially valuable content)? This is why we don't set any on delete cascade on creation users of an acs_object.
It is usually the case that the portrait is also an acs_object with creation user set to the one the portrait belongs to. Therefore, one must delete it first and then user deletion can happen.
For me it makes sense that one deletes a user expecting its portrait to go away too. Therefore I have addressed this in commit http://cvs.openacs.org/changelog/OpenACS?cs=MAIN%3Aantoniop%3A20170816091820
Hope this helps
That's what I expected. In fact and fortunately, the content created by the user was only the portrait, and I removed all references from content::item.
I guess I know what to do and I'm only afraid to it! :)
Glad you could solve it!