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

Nested object chains stuck in pendingQueue #491

Closed
robharper opened this issue Feb 13, 2012 · 3 comments
Closed

Nested object chains stuck in pendingQueue #491

robharper opened this issue Feb 13, 2012 · 3 comments
Labels

Comments

@robharper
Copy link
Contributor

A collection that contains an undefined entry that is later replaced with a real Em.Object instance can leave chains stuck in the pendingQueue. Specifically, when the observed objects in question contain nested properties such as:

Em.Object.create({
  foo: {
     bar: 'something'
  },
  baz: 10
});

When nested properties ('foo.bar') are used in a view template, chains get stuck. When only top-level properties ('baz') are used, nothing gets stuck. May be related to Issue 405.

I've created a jsfiddle that shows chains stuck indefinitely: http://jsfiddle.net/rharper/Fcb4m/

@wagenet
Copy link
Member

wagenet commented Feb 24, 2012

I think this may be related to some work @kselden did previously. I'll ask him to take a look.

@wagenet
Copy link
Member

wagenet commented Feb 24, 2012

@robharper I just reviewed this again and it looks like it works fine. #405 is closed now, so I'm going to assume this is ok. If I'm mistaken, please provide more detailed information including OS and browser and exactly what results I should be seeing. Thanks.

@wagenet wagenet closed this as completed Feb 24, 2012
@robharper
Copy link
Contributor Author

@wagenet Yes, it appears to be fixed. Happens in 0.9.4 but fixed in 0.9.5. Thanks!

sandstrom pushed a commit to sandstrom/ember.js that referenced this issue Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants