Project

General

Profile

GX-Bug #67865

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

Added by Daniel Wu 4 months ago. Updated 4 months ago.

Status:
Erledigt
Priority:
Hoch
Assigned To:
Category:
Google Services
Target version:
% Done:

0%

Estimated time:
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

Tags:
Story points-Velocity based estimate-

Description

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


Related issues

Copied from GX-Entwicklung - GX-Bug #65885: If products with a GX-Customizer Set are added to the cart and Google Analytics is activated, the products cannot be addedErledigt

Actions

History

#1

Updated by Daniel Wu 4 months ago

  • Copied from GX-Bug #65885: If products with a GX-Customizer Set are added to the cart and Google Analytics is activated, the products cannot be added added
#2

Updated by Daniel Wu 4 months ago

  • Status changed from Gemeldet to Anerkannt
#3

Updated by Daniel Wu 4 months ago

  • Assigned To deleted (Tobias Schindler)
#4

Updated by Julian Heckmann 4 months ago

  • Status changed from Anerkannt to In Bearbeitung
  • Assigned To set to Julian Heckmann
#5

Updated by Julian Heckmann 4 months ago

  • Status changed from In Bearbeitung to Testing
  • Assigned To changed from Julian Heckmann to Core-Entwickler
  • Target version changed from SP-Candidates to 4.2.0.1
#6

Updated by Jonatas Fischer 4 months ago

  • Assigned To changed from Core-Entwickler to Jonatas Fischer
#7

Updated by Jonatas Fischer 4 months ago

  • Status changed from Testing to Erledigt

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 5 MB)