GemsTracker / gemstracker-library

GEneric Medical Survey Tracker, main library
http://gemstracker.org
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Answered surveys sometimes give an error on return when database table translations are enabled #686

Closed jvangestel closed 2 years ago

jvangestel commented 2 years ago

Message: Argument 3 passed to Gems_Registry_CachedArrayTargetAbstract::translateTable() must be of the type array, boolean given, called in /data/www/webapps/supexor_prod/vendor/gemstracker/gemstracker/classes/Gems/Registry/CachedArrayTargetAbstract.php on line 173

When the loaded data is somehow empty in CachedArrayTarget extensions, the translations are still attempted, eventhough the data should be an array by that time