View Issue Details

IDProjectCategoryView StatusLast Update
0005025OXID eShop (all versions)4.07. Source code, Testpublic2022-02-01 11:52
Reportermpienkny Assigned To 
PrioritylowSeverityfeatureReproducibilityalways
Status closedResolutionwon't fix 
Product Version4.5.9 revision 43186 
Summary0005025: oxbase->_getNonCachedFieldNames() throws ambiguous warning
DescriptionFor example, if table oxcountry is accidently deleted (or renamed to reproduce) from database, this warning appears in admin in product main:

Warning: Invalid argument supplied for foreach() in (..)core/oxbase.php on line 1420

It would help, if in oxbase there would be checked if function _getAllFields() returns an array - and if not throw name of missing table.
TagsNo tags attached.
ThemeNot defined
BrowserAll
PHP VersionNot defined
Database VersionNot defined

Activities

svetlana

2014-03-28 10:02

reporter   ~0009732

waiting for the PO decision.

Sven Brunk

2022-01-31 15:12

administrator   ~0013614

There should be a detailled error message in the shop logfile. We won't add checks and messages in that detail to the frontend (because it scares customers) or the frontend (because it degrades performance and I see no good reason for the usecase)