Projekt

Allgemein

Profil

GX-Bug #68079

Von Till Tepelmann vor mehr als 3 Jahren aktualisiert

Wenn die Artikelkurzbeschreibung in der Datenbank "NULL" ist, dann kann der Warenkorb nicht mehr aufgerufen werden  

 Kann wie folgt reproduziert werden: 

 1, Artikel anlegen 
 2. unter "Toolbox->SQL" folgendes eingeben: "UPDATE products_description" SET products_short_description = NULL; 
 3. Artikel aufrufen und in den Warenkorb legen 

 Erwartetes Ergebnis: 
 Der Warenkorb sollte ohne Fehler aufgerufen werden können und es sollte kein Fehler angezeigt werden 

 Tatsächliches Ergebnis: 
 Der Warenkorb ist nachdem man den Artikel in den Korb gelegt hat nicht mehr aufrufbar, es erscheint eine Fehlermeldung 

 ----- 

 If the item short description in the database is "NULL", then the shopping cart can no longer be accessed.  

 Can be reproduced as follows: 

 1, create product 
 2. under "Toolbox->SQL" enter the following: "UPDATE products_description" SET products_short_description = NULL; 
 3, access the product and add it to the shopping cart. 

 Expected result: 
 The shopping cart should be able to be accessed without error and no error should be displayed. 

 Actual result: 
 The shopping cart cannot be opend after you put the product in the basket, an error message appears. 

 ------ 

 ERROR: Uncaught TypeError: Argument 1 passed to Gambio\Shop\Product\Representation\ShortDescription\Repository\DTO\ShortDescriptionDto::__construct() must be of the type string, null given, called in /GambioShop/Product/Representation/ShortDescription/Repository/Readers/Reader.php on line 62 and defined in /GambioShop/Product/Representation/ShortDescription/Repository/DTO/ShortDescriptionDto.php:27 


Zurück