Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[PropertyInfo] Dont try to set null when argument is not nullable#38920
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Nyholm commentedOct 31, 2020
The test |
jderusse commentedOct 31, 2020
If it's a bug fix, shouldn't it target 4.4? |
jderusse left a comment
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.
What's about constructor, non nullable properties (typehinted in php 7.4) and mutators?.
Uh oh!
There was an error while loading.Please reload this page.
Nyholm commentedOct 31, 2020
Last time I checked, the code was very different in 4.4 and 5.1. I can check again later. |
Uh oh!
There was an error while loading.Please reload this page.
fabpot commentedNov 17, 2020
@Nyholm Can you finish this one? I think it should go in 5.2. |
8a750ce to756b9bcCompareUh oh!
There was an error while loading.Please reload this page.
nicolas-grekas left a comment
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.
Can you please rebase to target 5.3?
Uh oh!
There was an error while loading.Please reload this page.
fabpot commentedOct 30, 2021
@Nyholm What's the status here? |
fabpot commentedJul 25, 2022
@Nyholm Sorry to ping you again on this one :) |
Nyholm commentedJul 25, 2022
I thought i would patch a simple bug. But Im not sure this is needed. I dont even remember what I did to find this bug. Im closing this since it has not been a priority for me (or anyone else) to fix it. |
Uh oh!
There was an error while loading.Please reload this page.
This will break up#38800 into two smaller pieces.
If there is a method
setPreviousException(Throwable $t)and we try to unserialise a value of ['previousException'=>null], we should not try to invoke this setter. It will cause an error.