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

[BUGFIX release] Ember.View.views should be present #11437

Closed
wants to merge 1 commit into from

Conversation

teddyzeenny
Copy link
Contributor

Since we are exposing an extended version of the View class (the DeprecatedView), we need to use reopenClass to set properties on the class.

@rwjblue
Copy link
Member

rwjblue commented Jun 13, 2015

I restarted Travis job due to the following failure:

Test failed: collection helper: empty views should be removed when content is added to the collection (regression, ht: msofaer)
Failed assertion: Ember.View.views should be empty, expected: , but was: ember592

@rwjblue
Copy link
Member

rwjblue commented Jun 13, 2015

Thanks for tracking this down. Will likely wait a short amount of time before releasing a 1.13.1 (and we need to get that test passing) in case there are other regressions.

@teddyzeenny
Copy link
Contributor Author

Looks like fixing Ember.View.views uncovered an unrelated issue. Before this PR, the ember-dev assertion wasn't functional (it would always pass), which allowed the current failing test to pass.

@rwjblue
Copy link
Member

rwjblue commented Jun 14, 2015

Yes, good catch on the failure. I'll try to get that test fixed in a separate PR.

@rwjblue
Copy link
Member

rwjblue commented Jun 14, 2015

(will have to hold off on merging this in the meantime)

@sandstrom
Copy link
Contributor

This was also very convenient for debugging. Keeping some easy method of getting arbitrary view instances would be awesome 😄

@rwjblue
Copy link
Member

rwjblue commented Jun 30, 2015

@teddyzeenny - Can you rebase?

@teddyzeenny teddyzeenny force-pushed the view-reopen branch 4 times, most recently from 709077b to b4c999b Compare July 1, 2015 11:31
@teddyzeenny
Copy link
Contributor Author

Rebased. Collection helper test is still failing though.

@ibroadfo
Copy link
Contributor

ibroadfo commented Aug 2, 2015

<3

On Sun, 2 Aug 2015 at 20:33 Robert Jackson notifications@github.com wrote:

Closed #11437 #11437 via #11956
#11956.


Reply to this email directly or view it on GitHub
#11437 (comment).

@teddyzeenny teddyzeenny deleted the view-reopen branch August 5, 2015 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants