Projekt

Allgemein

Profil

GX-Bug #65885

Von Till Tepelmann vor mehr als 3 Jahren aktualisiert

Wenn Artikel mit einen GX-Customizer SET in den Korb gelegt werden ohne Namen und Beschreibung im Shop aktiv sind und Google Analytics aktiviert ist, können die Artikel in in den Korb gelegt nicht aufgerufen werden 

 Kann wie folgt reproduziert werden: 

 1. Artikel anlegen 
 2. GX-Customizer Set unter "Artikel->GX-Customizer" anlegen 
 3. den neuen Artikel das GX-Customiter SET zuordnen 
 4. Google Analtics aktivieren 
 5. Artikel im Shop aufrufen 
 6. Artikel in den Korb legen, es wird dann eine Fehlermeldung wird im AJAX Request als response zurückgegeben. Artikel wird nicht in den Korb gelegt. angezeigt. 

 __________ 


 If products with a GX-Customizer Set without name and description are added to active in the cart shop and Google Analytics is activated, the products cannot can not be added 


 Can be reproduced as follows: 

 1. create a product 
 2. create GX-Customizer Set under "Products->GX-Customizer 
 3. assign the new product to the GX-Customiter SET 
 4. activate Google Analtics 
 5. open product in the store 
 6. place product in the basket, called and an error message is returned in the AJAX request as response Product will not be put into the basket. 



 displayed. 

 ` ` `FATAL ERROR(1): \"Uncaught InvalidArgumentException: Either $id or $name is required! in /var/www/GXModules/Gambio/GoogleECommerce/Shop/Classes/ValueObjects/GoogleAnalyticsProduct.inc.php:128 
 Stack trace: 
 #0 /var/www/GXModules/Gambio/GoogleECommerce/Shop/Classes/Repositories/GoogleAnalyticsTrackingRepository.inc.php(137): GoogleAnalyticsProduct::create(NULL, '', NULL, NULL, NULL, 7, NULL) 
 #1 /var/www/GXModules/Gambio/GoogleECommerce/Shop/Classes/Services/GoogleAnalyticsTrackingService.inc.php(132): GoogleAnalyticsTrackingRepository->fetchProductByCombinedId(Object(GoogleAnalyticsCombinedProductId), Object(IdType), Object(IdType)) 
 #2 /var/www/GXModules/Gambio/GoogleECommerce/Shop/Overloads/ApplicationBottomExtenderComponent/GoogleAnalyticsApplicationBottom.inc.php(84): GoogleAnalyticsTrackingService->encodedProductByProductId(Object(IdType), Object(IdType), Object(IdType)) 
 #3 /var/www/GXModules/Gambio/GoogleECommerce/Shop/Overloads/ApplicationBottomExtenderComponent/GoogleAnalyticsApplicationBottom.inc.php(47): GoogleAnalyticsA\"` ` `

Zurück