Closed (outdated)
Project:
Registration codes
Version:
6.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Sep 2011 at 16:01 UTC
Updated:
27 Jul 2021 at 00:06 UTC
Jump to comment: Most recent
Comments
Comment #1
aidanlis commentedIs this still an issue?
Comment #2
lunazoid commentedI've noticed this problem too...
Comment #3
jim kirkpatrick commentedConfirmed... Seems that the code starting on line 617 of regcode.views_default.inc that sets up the VBO actions doesn't work...
Not sure about VBO, but a quick check through its code had no reference to 'selected_operations' outside the views_bulk_operations.install file.
Comment #4
jim kirkpatrick commentedFurther to my last, it appears VBO has changed/refactored the options code sometime between 6.x-1.10 and 6.x-1.12... I'm using the latest DEV and the code for
function get_selected_operations()in views_bulk_operations_plugin_style.inc has been refactored to look for 'options' rather than 'selected options', plus other changes.So the RegCode VBO integration code is out of date with the current version of VBO.
To fix, the snippet of the config array (from line 617 of regcode.views_default.inc) I posted above should in fact look like this:
With the above the Bulk Operations dropdown has proper actions and they work as expected. I dropped the unused actions and skipped any settings that just set up defaults, but I'm not a hardcore views/VBO coder so please check that this works.
Works for me anyway with VBO 6.x-1.12 and the latest DEV.
Comment #5
jim kirkpatrick commentedComment #6
lunazoid commentedUsing the fix in #4, the VBO integration appears to be working. I haven't tested this extensively, but the items are now in the drop box, and it looks like they are doing what they should be. Thank you!!!
Comment #7
jim kirkpatrick commentedComment #7.0
jim kirkpatrick commentedCorrected VOB to VBO
Comment #8
tr commentedThis code was removed from regcode.views_default.inc in commit 15ad4df0 (no corresponding issue ...) during the port to D7. The replacement code is in regcode.views.inc. The replacement code does not seem to have this problem.
Drupal 6 is unsupported and has been unsupported for more than 5 years. Changes will no longer be made to the D6 version of this module.