Avoid issues with missing variations.#13
Conversation
|
Instead of altering Which was the parent calling |
|
Do you know when the exception occurs? I guess it happened when viewing a I would also add the check for a missing reference a higher level - not entering the method |
|
Hi @wanze I noticed this on a product detail page with an invalid variation, not quite sure if the the field there was the "add to cart" formatter or the entity renderer. I only did a cursory check where Time permitting I'll try to recreate this and send the stacktrace. |
Hello
I have a case where some product data can become inconsistent due to long running import jobs from the ERP. This can lead to a missing product variation. This function causes a fatal error in that case and the following change catches it.