Projekt

Allgemein

Profil

GX-Bug #57837

Von Jan-Olof Kratzke vor fast 5 Jahren aktualisiert

GX-Customizer gibt keine Meldung wenn Dateien größer als max_upload_filesize sind und können nach mehrfachen klick auf "In den Korb" in den Korb gelegt werden, obwohl der Upload der Datei nicht geklappt hat. 
 Hier muss eine Prüfung stattfinden, dass die Datei zu gross ist und dem Kunden im Shop auch angezeigt werden, dass seine Datei die maximal erlaubte Größe überschreitet. 

 --- 

 EDIT JK 30.07.2019 

 requirements 
 - GX-Customizer Set containing a file upload field 
 + file upload field with the following settings: 
	 Allowed file types defined 
	 Max. filesize    0 
 - product using said GX-Customizer set 
 - open Toolbox > Server Info to verify the value of 'upload_max_filesize' 


 reproduce 
 - open the prepared product and upload a file with a filesize bigger than the 'upload_max_filesize' of the php-server 
 - add product to cart 
 - no message is shown to warn the customer that the file is too big, contrary to the usage of the setting 'Max. filesize' within the GX-Customizer Set itself > UNWANTED BEHAVIOR

Zurück