I created a group inside My imagepicker, but now I can't delete it. I removed all pictures from it to see if that was the problem, but I still can't delete the group. It just takes me to user/1/imagepicker/groups/delete/1 and I get a blank page (i.e. my drupal theme exists, but there is no imagepicker output)

CommentFileSizeAuthor
#2 imagepicker_missing_delete_form_D6.patch404 byteshutch

Comments

hutch’s picture

You have found a bug that I've missed, onto it ASAP
thanks

hutch’s picture

StatusFileSize
new404 bytes

Please use the attached patch to repair this bug. It will apply to both stable and dev D6.

If you cannot patch it should be easy enough, it's only 3 lines:
immediately below line 671 imagepicker.module

    elseif ($func == 'delete') {
      $content .= drupal_get_form('imagepicker_group_delete_form', $id);
    }

I will get dev version updated shortly

jaypan’s picture

Hey thanks, that worked. I appreciate the prompt response and fix. So many module maintainers take days to get back to you, if ever, and I often just end up hacking their code myself, but I hate doing that because future updates can screw it up. So I really appreciate you taking the time to respond quickly.

hutch’s picture

You're welcome.
The fix is in the dev version and I will put out a new stable version soon

hutch’s picture

Version: 6.x-1.2 » 6.x-1.3
Status: Active » Fixed

Fixed in dev and stable

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

timfluhr’s picture

Version: 6.x-1.3 » 6.x-2.13

I can't delete groups in 6.x-2.13.

timfluhr’s picture

Status: Closed (fixed) » Active
hutch’s picture

Status: Active » Closed (works as designed)