Le 19/06/12 21:29, Jeroen De Dauw a écrit :
I refactored some code and then ran tests to see if it all still worked. I forgot renaming a database field somewhere, so had a query that failed. Instead of throwing an exception with the information that would have made the nature of the issue obvious, DatabaseBase::select returned false causing a type error somewhere else. This method is only supposed to return false in case SQL errors are being ignored. So why are they getting ignored? I certainly did not specify this. And it certainly is not helpful :)
Do you have code to reproduce that please? :-)