Designer version tested:
  • Designer 1.2.2 Build 48

Operating System:
  • Windows 7

  • Ext JS 4.x

  • When I link a class into another class I get "namespace undefined" error

Steps to reproduce the problem:
  • Create a form panel
  • Create a window
  • Link panel into the window
  • Export your code and execute your application

The result that was expected:
  • the window showing with the inner panel

The result that occurs instead:
  • javascript error: namespace is undefined

Possible fix:
  • insert alias property into the ui class with magic word 'widget'
    Ext.define('MyApp.view.ui.MyForm', {
        extend: 'Ext.form.Panel',
        alias: 'widget.myform',