Aktionen
GX-Bug #69315
geschlossenITRK: Übertragung von Rechtstexten schlägt fehl | Legal texts cannot be transmitted
% erledigt:
0%
Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.5.1.0 RC1
Release Notes Langtext:
IT-Recht-Kanzlei: Rechtstexte können wieder fehlerfrei übertragen werden
Beschreibung
Beim Aufruf des API-Endpunktes im Shop ($SHOP_URL/api-it-recht-kanzlei.php) kommt es unter Umständen zu einem Fehler:
<?xml version="1.0" encoding="UTF-8" ?> <response> <status>error</status> <error>99</error> <meta_shopversion>4.5.1.0</meta_shopversion> <meta_modulversion>1.25</meta_modulversion> </response><br /> <b>Fatal error</b>: Uncaught Error: Call to a member function real_escape_string() on bool in /var/www/web20/htdocs/45/vendor/gambio/codeigniter-db/drivers/mysqli/mysqli_driver.php:335 Stack trace: #0 /var/www/web20/htdocs/45/vendor/gambio/codeigniter-db/DB_driver.php(1074): CI_DB_mysqli_driver->_escape_str('%GAMBIO_HUB_REM...') #1 /var/www/web20/htdocs/45/vendor/gambio/codeigniter-db/DB_driver.php(1039): CI_DB_driver->escape_str('%GAMBIO_HUB_REM...') #2 /var/www/web20/htdocs/45/GXModules/Gambio/Hub/Admin/Classes/DataObserver/DataObserverFeature.inc.php(61): CI_DB_driver->escape('%GAMBIO_HUB_REM...') #3 /var/www/web20/htdocs/45/GXModules/Gambio/Hub/Admin/Classes/DataObserver/DataObserverRegistry.inc.php(156): DataObserverFeature::isActive() #4 [internal function]: DataObserverRegistry::process() #5 {main} thrown in <b>/var/www/web20/htdocs/45/vendor/gambio/codeigniter-db/drivers/mysqli/mysqli_driver.php</b> on line <b>335</b><br />
Der Fehler tritt nicht in allen Hosting-Umgebungen auf.
Schritte zum Reproduzieren:
- siehe oben
Erwartetes Ergebnis:
Korrekt formartierte XML-Fehlermeldung ohne Fatal Error.
Tatsächliches Ergebnis:
siehe oben
When calling the API endpoint in the shop ($SHOP_URL/api-it-recht-kanzlei.php), an error may occur:
<?xml version="1.0" encoding="UTF-8" ?> <response> <status>error</status> <error>99</error> <meta_shopversion>4.5.1.0</meta_shopversion> <meta_moduleversion>1.25</meta_moduleversion> </response><br /> <b>Fatal error</b>: Uncaught Error: Call to a member function real_escape_string() on bool in /var/www/web20/htdocs/45/vendor/gambio/codeigniter-db/drivers/mysqli/mysqli_driver.php:335 Stack trace: #0 /var/www/web20/htdocs/45/vendor/gambio/codeigniter-db/DB_driver.php(1074): CI_DB_mysqli_driver->_escape_str('%GAMBIO_HUB_REM...') #1 /var/www/web20/htdocs/45/vendor/gambio/codeigniter-db/DB_driver.php(1039): CI_DB_driver->escape_str('%GAMBIO_HUB_REM...') #2 /var/www/web20/htdocs/45/GXModules/Gambio/Hub/Admin/Classes/DataObserver/DataObserverFeature.inc.php(61): CI_DB_driver->escape('%GAMBIO_HUB_REM...') #3 /var/www/web20/htdocs/45/GXModules/Gambio/Hub/Admin/Classes/DataObserver/DataObserverRegistry.inc.php(156): DataObserverFeature::isActive() #4 [internal function]: DataObserverRegistry::process() #5 {main} thrown in <b>/var/www/web20/htdocs/45/vendor/gambio/codeigniter-db/drivers/mysqli/mysqli_driver.php</b> on line <b>335</b><br />
The error does not occur in all hosting environments.
Steps to reproduce:
- see above
Expected result:
Correctly formatted XML error message with no Fatal Error.
Actual result:
see above
Aktionen