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

Soren Jones - March 31, 2008 - 04:42

Vitalie,

Thank you!

#2

Soren Jones - April 1, 2008 - 10:54
Assigned to:Anonymous» Soren Jones
Status:active» needs review

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

Soren Jones - April 1, 2008 - 10:58
Status:needs review» active

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

drewish - August 2, 2008 - 17:31
Status:active» needs review

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.

AttachmentSize
apply_for_role_240695.patch 1.11 KB
 
 

Drupal is a registered trademark of Dries Buytaert.