Variation without asigned attributes fail

Created on 15 March 2024, 3 months ago
Updated 23 May 2024, about 1 month ago

If a variation does not have an attribute that has been assigned to said variation, the following error appears:

Error: Call to a member function id() on null in Drupal\commerce_product\Plugin\Field\FieldFormatter\ProductAttributesOverview->getAttributeItemList() (line 223 of modules/contrib/commerce/modules/product/src/Plugin/Field/FieldFormatter/ProductAttributesOverview.php).

🐛 Bug report
Status

Fixed

Version

2.0

Component

Product

Created by

🇨🇭Switzerland Mistrae

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024