-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.0.13] "Phalcon\Mvc\Model\Resultset\Simple" can not be iterated after "setHydrateMode()" #11973
Comments
|
@sergeyklay what do you mean? |
Files and line where |
Do you use option |
Could you please check 3.0.x branch?
|
Sorry for the late reply,,,, I have set Model behavior in self::setUp([
"notNullValidations" => false,
"castOnHydrate" => true,
"forceCasting" => true
]); The problem is from |
And I just updated to 3.0.x,,, It fixed this issue. Thx, @sergeyklay @andrew-demb |
If I use mode
HYDRATE_ARRAYS
...... I will get errors like:
If i use mode
HYDRATE_OBJECTS
...... I will get errors like:
But there is nothing wrong with mode
HYDRATE_RECORDS
.Is this a bug?
The text was updated successfully, but these errors were encountered: