Projekt

Allgemein

Profil

Aktionen

GX-Bug #65885

geschlossen

If products with a GX-Customizer Set are added to the cart and Google Analytics is activated, the products cannot be added

Von Till Tepelmann vor mehr als 4 Jahren hinzugefügt. Vor mehr als 3 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Hoch
Zugewiesen an:
Jonatas Fischer
Kategorie:
Google Services
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
3.15.3.1, 3.15.4.0
Release Notes Langtext:

Das "GoogleAnalyticsProduct"-Objekt wird nun mit leern Daten gefüllt, wenn keine Daten vorhanden sind


Beschreibung

Wenn Artikel mit einen GX-Customizer SET in den Korb gelegt werden und Google Analytics aktiviert ist, können die Artikel in in den Korb gelegt 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, Fehlermeldung wird im AJAX Request als response zurückgegeben. Artikel wird nicht in den Korb gelegt.

If products with a GX-Customizer Set are added to the cart and Google Analytics is activated, the products cannot 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, error message is returned in the AJAX request as response Product will not be put into the basket.

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\"



Zugehörige Tickets

Kopiert nach GX-Entwicklung - GX-Bug #67865: If products with a GX-Customizer Set are added to the cart and Google Analytics is activated, the products cannot be addedErledigtJonatas Fischer

Aktionen
Aktionen

Auch abrufbar als: Atom PDF