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

You must use Ember.set() to set the `parentView` property (of <tiny@component:em-select::ember1505>) to `null`. #14260

Closed
GCorbel opened this Issue Sep 10, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@GCorbel

GCorbel commented Sep 10, 2016

I upgraded an ember app to the Ember 2.8 version and I have this error :

Error: Assertion Failed: You must use Ember.set() to set the `parentView` property (of <tiny@component:em-select::ember1505>) to `null`.
    at new Error (native)
    at Error.EmberError (http://test.local.com:4201/assets/vendor.js:28666:21)
    at assert (http://test.local.com:4201/assets/vendor.js:16366:13)
    at Object.assert (http://test.local.com:4201/assets/vendor.js:28478:34)
    at Class.SETTER_FUNCTION [as parentView] (http://test.local.com:4201/assets/vendor.js:32482:26)
    at Array.<anonymous> (http://test.local.com:4201/assets/vendor.js:19915:25)
    at didCleanupTree (http://test.local.com:4201/assets/vendor.js:20266:15)
    at Object.clearMorph (http://test.local.com:4201/assets/vendor.js:56563:7)
    at RenderResult.destroy (http://test.local.com:4201/assets/vendor.js:55867:32)
    at Renderer.remove (http://test.local.com:4201/assets/vendor.js:24226:18)

The error is on this line. What can I do?

@rwjblue

This comment has been minimized.

Show comment
Hide comment
@rwjblue

rwjblue Sep 10, 2016

Member

Observing parentView isn't really something we support. Can you share more information about your use case?

Member

rwjblue commented Sep 10, 2016

Observing parentView isn't really something we support. Can you share more information about your use case?

@GCorbel

This comment has been minimized.

Show comment
Hide comment
@GCorbel

GCorbel Sep 10, 2016

The error comes from here : https://github.com/piceaTech/ember-rapid-forms/blob/master/addon/mixins/in-form.js#L7 .

I think we can use something else than computed to have the same behavior.

Thanks @rwjblue .

GCorbel commented Sep 10, 2016

The error comes from here : https://github.com/piceaTech/ember-rapid-forms/blob/master/addon/mixins/in-form.js#L7 .

I think we can use something else than computed to have the same behavior.

Thanks @rwjblue .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment