Closed (fixed)
Project:
Commerce Rules Extra
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Mar 2013 at 04:12 UTC
Updated:
22 Mar 2013 at 08:30 UTC
I have a rule set up to disable a checkout pane when the pane is being processed under certain conditions. The regular expression to invoke the rule event only checks for the presence of checkout or cart anywhere in the request uri, and therefore runs on admin/commerce/config/checkout disabling the pane I just enabled.
Attached patch checks that checkout or cart is the first argument in the url.
| Comment | File | Size | Author |
|---|---|---|---|
| commerce_rules_extra_restrict_rules_invocation.patch | 687 bytes | mstrelan |
Comments
Comment #1
mstrelan commentedComment #2
MarcElbichon commentedCommited to dev.
Thanks for your contribution.