Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Product
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2023 at 18:32 UTC
Updated:
6 Feb 2023 at 20:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #3
sergei_brill commentedComment #4
jsacksick commented@sergei_brill: Kinda tricky to modify the constructor arguments like this, but well, that should only be a problem for people extending the list builder.
Instead of having a
$productVariationTypeStorage, let's just inject/use the entity type manager in case we need to get a different storage later too.Comment #5
jsacksick commentedComment #6
jsacksick commentedCommitted, thank you!
Comment #10
sergei_brill commented@jsacksick Good note about the backward compatibility. But you made release with this issue so fast so, I couldn't fix it in time :)
Just in case you want to keep \Drupal\commerce_product\ProductVariationListBuilder compatible with previous versions of commerce 2, there is one more MR.
PS Commit it to 8.x-2.x only, 3.0.x may have BC breaks, I think.