Skip to content
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

Added failing test for #5111 #5157

Closed
wants to merge 1 commit into from

Conversation

workmanw
Copy link

No description provided.

@urbany
Copy link

urbany commented Sep 6, 2017

Is this bug still present in ED@2.15.0 ?

@workmanw
Copy link
Author

workmanw commented Sep 6, 2017

@urbany Unfortunately so. I just rebased against master and pushed so you'll see a travis failure here shortly. I also ran the tests locally and this test is still failing.

run(() => {
allPeople.objectAt(0).unloadRecord();

assert.equal(get(allPeople, 'length'), 2, 'Unload does not complete until the end of the loop');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think we want this to happen before the loop ends to reduce # of wtfs

Copy link
Author

@workmanw workmanw Oct 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I definitely agree that that would be more ideal. I had an extended conversation with @stefanpenner about that on slack. IIRC his near term objective was to get things back to how they were at 2.12, then later down the line rethink some of this stuff. That was several months back so it may have changed. But that was the thought process behind this test.

@runspired
Copy link
Contributor

runspired commented Mar 17, 2018

I've confirmed that #5378 will resolve this issue, and that PR has a test covering this case. Thanks so much for the failing test, made things easy to investigate!

@runspired runspired closed this Mar 17, 2018
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.

4 participants