Zend certified PHP/Magento developer

“No such entity with cartID = null” in the checkout after logged in on the other tab

The checkout stopped working after logging in on another browser’s tab.

Scenario:

  1. Fill the cart and proceed to the checkout page.
  2. Go to the other browser’s tab and logged in there.
  3. Go back to the checkout on the first tab and try to complete the order.

Result: Magento says “No such entity with cartID = null”.

see https://youtu.be/CEDZWR1Nj5U

It’s normal behavior? I understand that the cart on the first tab is deactivated after logging in, however, I would expect that the checkout page will be refreshed after trying some action on the deactivated cart. Is there some solution how to avoid this?