- Issue created by @andyg5000
- 🇺🇸United States andyg5000 North Carolina, USA
It looks like this is related to the variation being passed to those classes with `in_preview` as `TRUE`. So maybe it's as simple as figuring out why that's being set upstream.
- 🇺🇸United States andyg5000 North Carolina, USA
Looks like this was introduced with #3190799: ProductVariationContext is causing extra generate sample images to be generated → would be helpful to only have this fire in the context of a layout builder interface. Not sure the best way to handle that. I guess route match is an option, but sounds kinda ugly.
My comment in #2 above doesn't work. If you really want to kill this on your instance, remove the following from commerce_product.services.yml
calls: - [ setSampleEntityGenerator, [ '@?layout_builder.sample_entity_generator' ] ]
- Status changed to Needs review
6 months ago 6:30pm 5 June 2024 - last update
6 months ago 794 pass - 🇺🇸United States andyg5000 North Carolina, USA
Wouldn't you know... all the stuff we needed was there all along.
-
jsacksick →
committed 6552275c on 8.x-2.x authored by
andyg5000 →
Issue #3452555 by andyg5000: Layout builder and products with no...
-
jsacksick →
committed 6552275c on 8.x-2.x authored by
andyg5000 →
- Status changed to Fixed
6 months ago 2:29pm 6 June 2024 -
jsacksick →
committed 408dec28 on 3.0.x authored by
andyg5000 →
Issue #3452555 by andyg5000: Layout builder and products with no...
-
jsacksick →
committed 408dec28 on 3.0.x authored by
andyg5000 →
Automatically closed - issue fixed for 2 weeks with no activity.