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 |
Jump to:
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
Hmm, try replacing line 572
<?phparray('_image_gallery_access_update_batch_operation', array($form_state['values']['tid'])),
?>
with
<?phparray('_image_gallery_access_update_batch_operation', array($form_state['values']['tid'], $limit, $count)),
?>
#2
Committed to the 6.x-1.x-dev version.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.