Open ghost opened 11 years ago
What version of mojito are you using? Can you provide a simple code to reproduce the issue?
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.
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.