Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

bananer
Copy link
Contributor

@bananer bananer commented Mar 3, 2015

I commited with a different email address in PR 13831, so here is the third attempt. Also removed unnecessary test as suggested by @Tobion

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets 13731
License MIT
Doc PR none

I added test cases for the scenario described in my issue. After looking through the PropertyAccessor source my conclusion was that there is no reason to overwrite parents of references, so I changed that. None of the previous test cases disagreed and my new tests also passed.

Or maybe I got it all wrong, I'm willing to learn.

@bananer bananer changed the title Issue 13731 3 [PropertyAccess] stop overwriting once a reference is reached (3rd) Mar 3, 2015
@Tobion
Copy link
Contributor

Tobion commented Mar 3, 2015

👍

@Tobion
Copy link
Contributor

Tobion commented Mar 3, 2015

Thank you @bananer.

Tobion added a commit that referenced this pull request Mar 3, 2015
…hed (3rd) (bananer)

This PR was squashed before being merged into the 2.6 branch (closes #13835).

Discussion
----------

[PropertyAccess] stop overwriting once a reference is reached (3rd)

I commited with a different email address in [PR 13831](#13831), so here is the third attempt. Also removed unnecessary test as suggested by @Tobion

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | [13731](#13731)
| License       | MIT
| Doc PR        | none

I added test cases for the scenario described in my issue. After looking through the PropertyAccessor source my conclusion was that there is no reason to overwrite parents of references, so I changed that. None of the previous test cases disagreed and my new tests also passed.

Or maybe I got it all wrong, I'm willing to learn.

Commits
-------

d733a88 [PropertyAccess] stop overwriting once a reference is reached (3rd)
@Tobion Tobion closed this Mar 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants