Projekt

Allgemein

Profil

GX-Bug #68096

Von Till Tepelmann vor mehr als 3 Jahren aktualisiert

Artikel mit GX-Customizer Set ohne Eigenschaften und ohne Attribute lassen sich nicht in den Korb legen 

 Kann wie folgt reproduziert: 
 1. Unter "Artikel->Customizer" ein Set anlegen, muss nur ein Feld enthalten 
 2. Unter Einstellungen->Lagerwavaltung->Bestand vor dem Warenkorb prüfen" aktiveiren 
 3. Unter Einstellungen->GX-Customizer->Set Position auf "Wie im Template platziert anzeigen" auswählen 
 4. Arikel bearbeiten oder anlegen 
 5. GX-Customizer Set hinzufügen 
 6. Artikel im Shop aufrufen 
 7. Artikel in den Korb legen 

 Erwartetes Ergebnis: 
 Artikel lässt sich ohne Probleme in den Warenkorb legen 

 Tatsächliches Ergebnis: 
 Artikel lässt sich nicht in den Korb legen, die Ladeanimation läuft unendlich, es wird ein Fehler 500 in der Browserconsole angezeigt 

 ----- 

 Products with GX-Customizer set without properties and without attributes cannot be put into the basket 


 Can be reproduced as follows: 
 1. under "Product->Customizer" create a set, must contain only one field. 
 2. under settings->stock management->check stock before shopping cart" aktiviren 
 3. under Settings->GX-Customizer->Set Position select "Show as placed in template 
 4. edit or create article 
 5. add GX-Customizer set 
 6. access product in store 
 7. add product to basket 

 Expected result: 
 Product can be added to the basket without any problems. 

 Actual result: 
 The product cannot be added to the basket, the loading animation runs indefinitely, an error 500 is displayed in the browser console. 

 ----- 


 `[2020-12-22 13:35:49 | ERROR] Uncaught Gambio\Shop\Attributes\SellingUnit\Database\Exceptions\AttributeDoesNotExistsException: 0 not linked to the product 21475 in /GambioShop/Attributes/SellingUnit/Database/Repository/Readers/Reader.php:68 /var/www/tt/feat/GambioShop/Attributes/SellingUnit/Database/Repository/Readers/Reader.php:68 
 context: 
   message: Uncaught Gambio\Shop\Attributes\SellingUnit\Database\Exceptions\AttributeDoesNotExistsException: 0 not linked to the product 21475 in /GambioShop/Attributes/SellingUnit/Database/Repository/Readers/Reader.php:68 
     Stack trace: 
     #0 /GambioShop/Attributes/SellingUnit/Database/Repository/Repository.php(50): Gambio\Shop\Attributes\SellingUnit\Database\Repository\Readers\Reader->getAttributeBy() 
     #1 /GambioShop/Attributes/SellingUnit/Database/Service/ReadService.php(52): Gambio\Shop\Attributes\SellingUnit\Database\Repository\Repository->getAttributeBy() 
     #2 /GambioShop/Attributes/SellingUnitWeight/Database/Listener/OnGetSellingUnitWeightEventListener.php(51): Gambio\Shop\Attributes\SellingUnit\Database\Service\ReadService->getAttributeModelBy() 
     #3 /GambioCore/Event/EventDispatcher.php(62): Gambio\Shop\Attributes\SellingUnitWeight\Database\Listener\OnGetSellingUnitWeightEventListener->__invoke() 
     #4 /GambioShop/SellingUnit/Unit 
   code: 1 
   file: /GambioShop/Attributes/SellingUnit/Database/Repository/Readers/Reader.php`

Zurück