Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Cart
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 Sep 2016 at 05:18 UTC
Updated:
7 Oct 2016 at 17:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mglamanLooks like our block view doesn't have a filter to make sure only draft orders are shown (whoops.) Writing test now to verify.
Comment #3
mglamanConfirmed. Ran the "place" transition in CartBlockTest. Text remains after transition. Working on fix.
Comment #4
mglamanThis is because we never say "this is no longer a cart"! We need to remove the cart status flag when an order is no longer a draft / is placed.
Comment #5
mglamanPR: https://github.com/drupalcommerce/commerce/pull/502
Adds hook to remove cart flag on placed transition. Adds kernel test to verify.. which uncovers a fun core bug. Also tests browser and block display.
Comment #7
mglamanMerged!