Projekt

Allgemein

Profil

GX-Feature #67599

Von Till Tepelmann vor mehr als 3 Jahren aktualisiert

Wenn man z.B. im Dateimanager den Ordner /images/ oder /images/product_images/ mit allen Unterordnern löscht, ist der Shop nicht mehr aufrufbar. 

 Das Löschen von Ordner ist aktuell nicht erlaubt, aber das soll wieder möglich sein, ohne das der Shop dabei kaputt geht. 

 Der Shop muss dann das erkennen und entweder keinen Fehler werfen, oder den Ordner automatisch leer neu erstellen. 
 Dies muss an jeder Stelle im Shop wo auf einen Ordner zugegriffen werden, der normal vorhanden sein muss, implementiert werden. 
 Hier muss die Exception gefanngen werden und dann versucht werden den Ordner zu erstellen. 

 Das muss bei folgenden Ordner berücksichtig werden: 

 ------- 

 Deleting folders is currently not allowed, but this should be possible again without destroying the store. 

 For example, if you delete the folder /images/ or /images/product_images/ with all subfolders in the file manager, the store is no longer accessible. 

 The Shop must recognize then that and either throw no error, or create the folder automatically empty again. 
 This must be implemented at each place in the Shop where a folder is accessed, which must be normally present. 
 Here the exception must be caught and then be tried to create the folder. 

 This must be taken into account for the following folder: 

 'sunnycash_logos', 
         'image', 
         'infobox', 
         'content', 
         'flags', 
         'icons', 
         'banner', 
         'categories', 
         'gm', 
         'login_admin', 
         'logos', 
         'manufacturers', 
         'backup', 
         'slider_images', 
         'product_images',

Zurück