Changed product options broke checkout
When a product changed its config options after being added to the cart, reopening the item kept old values the product no longer offered. Checkout then failed with the validation error The selected ... is invalid.
Options checked each time the item opens
Options are now prepared for an item that is already in the cart as well. A stored value is kept while the product still offers it, otherwise the first available one is picked, as for a new item. A feature test replays a change to a location option.