This is happening in commerce_registration_commerce_cart_order_refresh(). Patch coming soon.

Current behavior is inconsistent with help text which says "Leave at 0 for no limit."

Comments

nadavoid’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.43 KB

Patch attached.

blacklabel_tom’s picture

Hi David,

Thanks for the patch I'll apply it once I get the chance to test it, unless someone else tests it before and I'll knock it straight in.

Cheers

Tom

vali hutchison’s picture

Can confirm this patch works on clean install of drupal 7.37 with latest commerce and registration modules. I had same error when using 0 for number of slots for anon user. After patch then can view cart with event product in it.

blacklabel_tom’s picture

Status: Needs review » Reviewed & tested by the community

Hi Vali,

That's great, setting to reviewed so I remember to commit it in.

Cheers

Tom

blacklabel_tom’s picture

Status: Reviewed & tested by the community » Closed (fixed)