Found a bug - I can't seem to deactivate my codes!

We want to deactivate a code early. If I select it from the list on /admin/config/people/regcode/list , then select the action of "deactivate code", I get an error message back saying "Please select at least one item". The error comes up if I select one item, or many.

The problem is on any bulk operations specific to Registration Codes. I can do other bulk operations in other views I've made just fine.

Not 100% sure if this is a Regcode specific VBO, or something else, but it's not just a VBO issue.

Comments

TrevorBradley created an issue. See original summary.

mspirit’s picture

Same for me , did u fix it ?

mspirit’s picture

This happen only for Views Bulk operation 7.x-3.4
i solved this by using old version 7.x-3.3

trevorbradley’s picture

I haven't looked at this since I originally found it @mspirit, sorry.

richardhobbs’s picture

This was happening for Views Bulk operation 7.x-3.5 drupal 7.59 using the old version 7.x-3.3 as mention above solved the issue

katski’s picture

Hi there

I had the same issue but I didn't want to roll back to the earlier VBO version.

Patch attached which resolves the issue, clear cache once applied.

cheers
Kat

mmjvb’s picture

Status: Active » Needs review

Set to Needs review due to patch provided in #6

ayesh’s picture

Patch looks good to me.

steinmb’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
Status: Needs review » Reviewed & tested by the community
git apply -v 0001-Fix-for-regcode-issue-caused-by-vbo-upgrade.patch
Checking patch sites/all/modules/regcode/regcode.views.inc...
warning: sites/all/modules/regcode/regcode.views.inc has type 100644, expected 100755
Applied patch sites/all/modules/regcode/regcode.views.inc cleanly.

Tested and patch addressed the issue.

  • azovsky committed d2e94e7 on 7.x-2.x
    Issue #2948790 by @katski : Operations: "Please select at least one item...
azovsky’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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