Projekt

Allgemein

Profil

GX-Bug #70525

Von Patrick Bayer vor etwa 1 Jahr aktualisiert

Währungen können nicht aktualisiert werden, wenn NULL in einer der Felder "symbol_left", "symbol_right" in der Datenbank stehen 

 Das kann nur reproduziert werden, wenn man eine Währung manuell in die Datenbank anlegt 

 "INSERT INTO currencies set title="YEN",code="JPN" " 

 Danach können die Währungen nicht mehr per API aktualisiert werden 

 EDIT: 
 1. Installiere eine 4.8.0.1. 
 2. Führe folgenden Befehl in SQL aus "INSERT INTO currencies set title="YEN",code="JPN" " 
 3. Rufe https://deinshop.net/Shopverzeichnis/api.php/v3/currencies auf 

 Erwartetes Ergebnis: Die API sollte Daten zu den Währungen ausgeben 
 Tatsächliches Ergebnis: "An unexpected error occurred" 


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

 Currencies cannot be updated if there is NULL in one of the fields "symbol_left", "symbol_right" in the database. 

 This can be reproduced only if a currency is added manually to the database 

 "INSERT INTO currencies set title="YEN",code="JPN" " 

 After that the currencies cannot be updated via API anymore 

 EDIT: 
 1. Install a 4.8.0.1. 
 2. Execute the following in SQL: "INSERT INTO currencies set title="YEN",code="JPN" " 
 3. Go to https://yourshop.net/Shoppath/api.php/v3/currencies  

 Expected result: The API will return data regarding the currencies 
 Actual result: The API will return "An unexpected error occurred"

Zurück