-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Add null attribute check in cloneResultMap method #16735
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
Conversation
@mpadinhabrandao Need to create an issue first explaining the issue you have, link that issue into your pull request and also update the change log. The target needs changed to 5.0.x, the master target is only for releases. |
@mpadinhabrandao could you please add a test for this? |
@raicabogdan, I will create the issue later and update the description and the changelog. @raicabogdan and @niden about the code, what is your opinion? |
Can work I think, theoretically it just skips assignment on null and leaves the model as is. Its why I haven't exactly said no to your suggestion fix on discord. Its just that the cloneResult works in other places as well and as such I'm not sure if it will break anything. @niden may have other insights... but he may not be aware of the underlying discussion, thus an issue explaining the problem is recommended. Le. Looks like it's breaking tests |
@raicabogdan and @niden, I have already written some tests and fixed the errors identified on the first try. |
I already fixed the phpcs and tomorrow I am going to review the integration errors |
… SQLite schema files
5.9.2 release
I already test with own product and solution works. |
@niden, @raicabogdan , can someone start the tests? |
Sorry, but its not my decision, only @niden or @Jeckerson can do that. |
Thank you @mpadinhabrandao |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Squashing commits would be nice, rest seems ok and valid.
Hello!
Small description of change:
when type model and use this on leftjoin I have error when the leftjoin line doesn't exists because try assign null in variable that aren't null
Thanks