Issue #1854838 by Jose Reyero, Gábor Hojtsy, Damien Tournoud: Fixed Locale should not use fetchObject with a classname, WSOD on sqlite.