Model in a Model Exception

I have a baseMap, Report which has another baseMap, Event as a property. validate() in Report model calls the validate() on Event model instance as well.

When calling reportInstance.validate() in a component, an exception that the event model instance does not have a validate method is raised.

Complete example and how to reproduce the exception are shown at,output

In EditReportVM.validate() you are calling var validationResult =;. However, it seems as though the attribute name is rather "reportObj": { and not report… could be that.

Oops. Thanks eben. That was just by mistake.

Then I am unable to reproduce the exception I am facing in my actual application. I created this toy example with similar interaction.