The product feed attribute "always_multiple" is not always present. Therefore when trying to access it in the code, php throws a notice of undefined index.
attached is a simple patch that surrounds the attribute array with empty to if it does not exist or if its value equals FALSE.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

awm created an issue. See original summary.

andypost’s picture

Version: 7.x-1.x-dev » 8.x-2.x-dev
FileSize
1.54 KB

It's still issue in 8.x

Notice: Undefined index: translatable in Drupal\bazaarvoice_productfeed\Service\ProductfeedBuilderService->buildProduct() (line 60 of /var/www/html/web/modules/contrib/bazaarvoice/modules/bazaarvoice_productfeed/src/Service/ProductfeedBuilderService.php)

Notice: Undefined index: multiple in Drupal\bazaarvoice_productfeed\Service\ProductfeedBuilderService->getAttributeEntityFieldValue() (line 463 of /var/www/html/web/modules/contrib/bazaarvoice/modules/bazaarvoice_productfeed/src/Service/ProductfeedBuilderService.php)