Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Fix PropertyAccessor modifying array in object when array key does no…#16090
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
pierredup commentedOct 2, 2015
| Q | A |
|---|---|
| Bug fix? | yes |
| New feature? | no |
| BC breaks? | no |
| Deprecations? | no |
| Tests pass? | yes |
| Fixed tickets | #16056 |
| License | MIT |
| Doc PR |
Tobion commentedOct 2, 2015
👍 Looks good. But applying this in 2.7 will be tricky because we cannot just skip the last item as we also support throwing a @pierredup do you have an idea how to best solve it in 2.7? |
Tobion commentedOct 2, 2015
I think the best is to just move the test within the outer if in 2.7 And ensure we have a test covering this when using |
pierredup commentedOct 3, 2015
@Tobion I've just tested this on the 2.7 branch, and it works by wrapping the assignment in the |
fabpot commentedOct 5, 2015
Thank you@pierredup. |
…key does no… (pierredup)This PR was merged into the 2.3 branch.Discussion----------Fix PropertyAccessor modifying array in object when array key does no…| Q | A| ------------- | ---| Bug fix? | yes| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets |#16056| License | MIT| Doc PR |Commits-------f24c678 Fix PropertyAccessor modifying array in object when array key does not exist
This PR was merged into the 2.7 branch.Discussion----------Added more tests for PropertyAccess| Q | A| ------------- | ---| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | yes| Fixed tickets || License | MIT| Doc PR |This is a follow up for [16090#issuecomment-145183635](#16090 (comment))Commits-------378db75 Added more tests for PropertyAccess