hasKeyId returns wrong value
Bug #297308 reported by
Anthony Bush
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CoughPHP |
Fix Released
|
Critical
|
Anthony Bush |
Bug Description
When creating a new object and then explicitly setting the primary key, hasKeyId returns the incorrect value.
$obj = new TestObj();
$obj->setKeyId(1);
var_dump(
The impact appears to be minimal, however, because calling `save()` still produces an INSERT query.
It appears to have been introduced when the internal structure of modified fields changed.
Changed in coughphp: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
I have the fix for this, I'll launch it tonight as v 1.3.4