Projekt

Allgemein

Profil

GX-Bug #68281

Von Ulrich Wenk vor etwa 3 Jahren aktualisiert

Erstellung von Rechnungen ist sehr langsam und erzeugt viele Log-Einträge 

 Wenn man eine Rechnung erstellt oder die Vorschau benutzt, dahert es sehr lange bis die Rechnung erstellt ist und es wird eine Menge an Log-Einträge geschrieben. 

 Kann wie folgt reproduziert werden: 

 1. Ordner Ordmer PdfCreator aus der Vollversion 4.3.3.0 in den Shop kopieren 
 2. Shop öffnen 
 3. ein ganz normale Testbestellung durchführen 
 4. Unter "Einstellungen->Rechnung / Lieferschein->Vorschau" eine Rechnung ansehen, ODER eine Rechnung aus der Bestellübersicht heraus erzeugen (Dropdown-Menü) ansehen 
 5. Das öffnen dauert lange 

 Erwartetes Ergebnis: 
 Das öffnen bzw. Erstellen von Rechnungen sollte nicht so lange dauern 

 Tatsächliches Ergebnis: 
 Das Erstellen der Rechnung dauert extrem extram lange und erzeugt    30 bis 40 neue Log-Einträge pro Aufruf. 
 Wenn das Erstellen der Rechnung passiert ist in dem Moment der gesamte Shop nicht mehr nutzbar der Shop hängt dann bis die Rechnung erzeugt wurde 

 ----- 

 Invoice creation is very slow and creates a lot of log entries 

 When creating an invoice or using the preview, it takes a very long time until the invoice is created and a lot of log entries are written. 

 Can be reproduced as follows: 

 1. copy Ordmer PdfCreator from the full version 4.3.3.0 into the store. 
 2. open the store 
 3. carry out a normal test order 
 4. view an invoice under "Settings->Invoice / Delivery note->Preview, OR create an invoice on the orders-overview site (dropdown menu) note->Preview 
 5. opening takes a long time 

 Expected result: 
 Opening or creating invoices should not take so long 

 Actual result: 
 Creating the invoice takes extrem extram long and creates 30 to 40 new log entries per call. 
 When the creation of the invoice happens at that moment the whole store is no longer usable the store then hangs until the invoice is created. 


 ----- 

 WARNING: array_merge(): Expected parameter 1 to be an array, null given 

 context:  	
 message: 	
 array_merge(): Expected parameter 1 to be an array, null given 
 code: 	
 2 
 file: 	
 /PdfCreator/include/tcpdf_fonts.php 
 line: 	
 2010 

 WARNING: Invalid argument supplied for foreach() 

 context:  	
 message: 	
 Invalid argument supplied for foreach() 
 code: 	
 2 
 file: 	
 /PdfCreator/tcpdf.php 
 line: 	
 4085 

  WARNING: preg_match() expects parameter 2 to be string, array given 

 context:  	
 message: 	
 preg_match() expects parameter 2 to be string, array given 
 code: 	
 2 
 file: 	
 /PdfCreator/include/tcpdf_fonts.php 
 line: 	
 2109

Zurück