Create two Customer Users with Buyer roles - Buyer1(Branda Sanborn) and Buyer2(Amanda Cole)
Login to the frontstore under Buyer1, go to the Orders page (customer/order/). ALL OPEN ORDERS grid is empty.
Login to the frontstore under Buyer2, add product to Shopping cart, proceed to Checkout. Don't place the order.
Go to Admin panel, assign an Administrator role to Buyer1.
Login to the frontstore under Buyer1, go to the Orders page. As Administrator, I expect here to see Buyer2 open orders, but grid is empty.
Stay logged-in as Buyer1, add product to Shopping cart, proceed to Checkout. Don't place the order. Return to the Orders page. ALL OPEN ORDERS grid contains all Customer Users checkouts now.
Delete you own Checkout, grid will be updated, and become empty again.
Actual Result
Manual deleting of doctrine query cache solves this issue, but cache is not updated automatically when new roles is assigned.
Details about your environment
OroCommerce, B2B, versions 3, 4
Summary
Doctrine caches All Open Orders grid content and doesn't update it after Administrator role is assigned.
Steps to reproduce
This issue can be reproduced on https://demo.orocommerce.com
Actual Result Manual deleting of doctrine query cache solves this issue, but cache is not updated automatically when new roles is assigned.
Details about your environment OroCommerce, B2B, versions 3, 4