You found a bug! We've classified it as
We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
userAlias with a dot is rejected
Import from old Ext Designer into "Architect" was successful.
Unfortunatelly Architect keeps erasing userAlias properties of my components, because it disallows "." in userAlias name.
There is nothing wrong in using a dot in aliases and I've been doing that for a year now. It's most commonly used in mid to large apps with different modules, where aliases would otherwise overlap (i.e. "users.Grid" != "products.Grid" alias).
Please fix it!
I'll look into this. Get you a response soon.
Sencha Premium Member
I hate to necro old threads, but it seems this issue still has not been resolved. If it's by design a short explanation wouldn't hurt either.
It's just an old, abandoned bug ... not really "necro" since it's still OPEN, as in not-fixed
I believe that this is not allowed by the framework and/or the loader itself. Typically a dot denotes folder structure
Cancel that I was looking at userClassName which would refer to the above.
from the docs on Ext JS 4 - Using a dot in the alias other than the name will cause Ext.ComponentQuery.query to fail on that alias. For example alias: 'widget.sencha.coolpanel'. Using Ext.ComponentQuery.query('sencha.coolpanel') will not work. See http://www.sencha.com/forum/showthre...aining-./page3 for more details.
Not sure if it works now. Clearly this is a bug but I'm not sure the framework team intended namespaces outside of widget, store, model (predefined ones)
List of short
aliases for class names.