Problems with bulk update

JuniorZ - October 23, 2009 - 13:12
Project:Image Gallery Access
Version:6.x-1.0-beta3
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

After selecting "Update the permissions: in batches of 20 now" I got the error:

warning: Missing argument 3 for _image_gallery_access_update_batch_operation() in /www/modules/image_gallery_access/image_gallery_access.admin.inc on line 587.
warning: Missing argument 4 for _image_gallery_access_update_batch_operation() in /www/modules/image_gallery_access/image_gallery_access.admin.inc on line 587.
warning: Division by zero in /www/modules/image_gallery_access/image_gallery_access.admin.inc on line 610.

I have only 1 gallery and only 1 node in that gallery.

#1

salvis - October 23, 2009 - 21:24

Hmm, try replacing line 572

<?php
       
array('_image_gallery_access_update_batch_operation', array($form_state['values']['tid'])),
?>

with

<?php
       
array('_image_gallery_access_update_batch_operation', array($form_state['values']['tid'], $limit, $count)),
?>

#2

salvis - October 28, 2009 - 00:26
Status:active» fixed

Committed to the 6.x-1.x-dev version.

#3

System Message - November 11, 2009 - 00:30
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.