Enabling UUID on my site breaks the shipping quote function within Ubercart. Particularly, these rules, admittedly set by other contrib modules (ubercart itself, and other ubercart extension modules) become dirty:

E-mail an order update notification

Machine name: uc_order_update_email_customer, Weight: 0
Error: Data selector order:order-status for parameter data is invalid.

Complete non-shippable order after payment received

Machine name: uc_checkout_complete_paid, Weight: 0
Error: Data selector updated_order:order-status for parameter data is invalid.

Increment stock on cancelling order

Machine name: uc_stock_increment_on_cancel, Weight: 0
Error: Data selector updated_order:order-status for parameter data is invalid

Increment stock on deleting an order

Machine name: uc_stock_increment_on_delete, Weight: 0
Error: Data selector order:order-status for parameter data is invalid

Decrement stock when order cancellation is being undone

Machine name: uc_stock_decrement_on_uncancel, Weight: 0
Error: Data selector order:order-status for parameter data is invalid

These messages are also logged, triggered by the request for a shipping quote:
Type: Rules
Location: /system/ajax
Referrer: /cart
Message: Unable to evaluate condition data_is

Type: Rules
Location: /system/ajax
Referrer: /cart
Message: Unable to apply data selector order:delivery-address:country: Unknown data property delivery_address

I understand many modules don't play nice with one another. I suppose this is just my attempt at helping by highlighting an issue that many Ubercart users may run into when enabling UUID.

I only needed UUID because Node Export wanted it. I dont need Node export any more so I disabled both modules (UUID/Node export) and the rules config cleared up, and shipping quotes work again.

If anyone would like me to test something, I'd be happy to.

Comments

pere orga’s picture

Very related (if not duplicate) to errors shown in default Commerce module rules #1286318: Reaction rule fails the integrity check and cannot be executed (during installation)..

T1ckL35’s picture

Category: support » bug

I am seeing this issue too. I have just set up a site with ubercart and after creating a dev->staging->live rollout process (by using uuid) this error appeared and stops roles from being assigned when an order is processed.

ubercart 7.x-3.2
uuid 7.x-1.0-alpha3

T1ckL35’s picture

Good news - I've upgraded uuid to the latest dev release and this fixes the problem

7.x-1.0-alpha3+51-dev (as of now)

skwashd’s picture

Status: Active » Fixed

Closing based on the comment from @T1ckL35.

Status: Fixed » Closed (fixed)

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