can't delete role application of a user that was deleted previously
vv75 - March 31, 2008 - 04:29
| Project: | Apply for role |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Soren Jones |
| Status: | needs review |
Description
one more issue for you, Soren.
if the user was deleted, it's impossible to delete its role applications.

#1
Vitalie,
Thank you!
#2
I don't have much time now. This should take care of the problem in the future. It doesn't deal with the orphans, now. If you have access to your database, you can delete them by hand. I'll try to get around to an orphan function later this week.
Thanks, again!
#3
Fixed in 5 and 6 -dev. But I'm leaving this as active as a reminder to myself until there's also a fix for orphaned applications.
#4
this should do the trick for D6. you might want to bump the update number down to 5000 something so you can also commit it to the D5 branch and avoid having it run multiple times... thought it wouldn't really matter.