On the module page it mentions "C. New Rules action allowing rules to set or unset one or more contexts."

I have installed Context Rules 7.x-1.0-beta1 and enabled Rules 7.x-2.1, and I'm using Context 7.x-3.0-beta3.

However, when adding an action I can only see "Set a context module context" under the "Context Rules" subheading. I want to UNSET a context.

Is there a different way to do this? Or is the "unset" option not available?

Comments

alexweber’s picture

Assigned: Unassigned » alexweber

Hmm, good catch. I'll take a look but this should be relatively easy to implement.

- Alex

alexweber’s picture

Status: Active » Fixed

Implemented in 246b4cb and tagged 7.x-1.0-beta2 with this fix, thanks again for the bug report!

alexweber’s picture

This was ported to 6.x here: #1716070: Add option to unset a context

JmsCrk’s picture

Thanks for the speedy response!

I can confirm that beta2 now shows the 'unset' option and that it works correctly.

Really appreciate your help :D

alexweber’s picture

No problem, glad to help! :)

Status: Fixed » Closed (fixed)

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