Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Get error after calling mojitProxy.refreshView() in a composite mojit. #908

Open
ghost opened this issue Jan 11, 2013 · 3 comments
Open

Comments

@ghost
Copy link

ghost commented Jan 11, 2013

Get the following error on client side after calling MojitProxy.refreshView() in a composite mojit:
Uncaught Error: Cannot read property 'type' of undefined

The composite has a child mojit without binder and mojit_view_id. Then around this line:
https://github.com/yahoo/mojito/blob/develop/lib/app/autoload/mojito-client.client.js#L952
child.viewId is undefined and it finally cause the error.

@caridy
Copy link
Contributor

caridy commented Jan 11, 2013

What version of mojito are you using? Can you provide a simple code to reproduce the issue?

@ghost
Copy link
Author

ghost commented Jan 14, 2013

Created a demo of the issue. You can access "/" to reproduce it. https://git.corp.yahoo.com/yiwu/demo-908
My mojito version is 0.5.1.

@caridy
Copy link
Contributor

caridy commented Jan 19, 2013

@ghost ghost assigned caridy Jan 29, 2013
@caridy caridy removed this from the v0.5.5 milestone Mar 3, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant