Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
N/A
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: 1.9.3
-
Component/s: Zend_Db_Table
-
Labels:None
Description
If the data type of my primary key is an integer, the find() method returns all records where the primary key equals the intval of my parameter. For example, when using find('3abc') while my primary key is an integer, find() returns all records where primary_key = '3'. However, I think it should return false or throw an exception as ZF already knows which datatype is used for my primary key, and my input simply isn't correct if I enter anything else than an integer.
It is your responsibility to do this job...