Projekt

Allgemein

Profil

GX-Bug #70976

Von Rico Schreiber vor 25 Tagen aktualisiert

Wenn keine Größenangaben für die Artikelbilder in der Datenbank stehen (0) dann wird versucht das aus den Bildern direkt abzurufen, wenn die Grafik aber defekt ist, dann gibt es eine Fehlermeldung und der Shop ist nicht mehr aufrufbar. 

 Kann wie folgt reproduziert werden: 

 1. Shop installieren 
 2. Ein Artikel anlegen 
 3. Ein Bild im Artikel hochladen 
 4. Das Bild auf dem Server im Ordner /images/product_images/info_images/ manipulieren, Inhalt der Datei verändern, sodass das Bild kaputt ist, also es zu einer komplett leeren Datei machen. ist 
 5. In der Datenbank für die Bilder die Breite und Höhe auf 0 setzen, (UPDATE products SET products_image_w = 0, products_image_h = 0) 
 6. Shop aufrufen, Startseite 

 Erwartetes Ergebnis: 
 Wenn die Artikelbilder defekt sind und die Größenangaben nicht ermittelt werden können, sollte ein Fallback Bild geladen werden. images/product_images/thumbnail_images/noimage.gif 
 und der Shop sollte weiterhin aufrufbar sein. 

 Tatsächliches Ergebnis: 
 Shop ist nicht mehr aufrufbar, wenn ein defektes Artikelbild geladen wird und die Größenangaben nicht ermittelt werden können. 

 ---------------------- 

 If there are no size specifications for the article images in the database (0), then an attempt is made to retrieve this directly from the images, but if the graphic is defective, then there is an error message and the shop can no longer be called up. 

 Can be reproduced as follows: 

 1. install the shop 
 2. create an article 
 3. upload an image in the article 
 4. manipulate the image on the server in the folder /images/product_images/info_images/, change the content of the file so that the image is broken (a completely empty file would be considered broken) 
 5. set the width and height of the images to 0 in the database (UPDATE products SET products_image_w = 0, products_image_h = 0) 
 6. call up shop, start page 

 Expected result: 
 If the product images are defective and the sizes cannot be determined determined, a fallback image should be loaded. images/product_images/thumbnail_images/noimage.gif 
 and the shop should still be accessible. 

 Actual result: 
 The shop can no longer be called up if a defective product image is loaded and the size specifications cannot be determined. 

Zurück