25 Jan 2012 6:23 AM #1
[PR4] Profile "name" vs "namespace" and documentation
I've been struggling with this bug for a day now, and found the solution by looking at the "player" example (remember to fix the index.html, using sencha-touch-debug.js if you're planning on using this one) :
The "Using Device Profiles" guide mentions a "name" config property for Profile, but don't mention the "namespace" one (nor does the Ext.Profile class documentation). It seems to me as if you intended to have "namespace" default to "name" if not specified , but the current PR4 release uses (null) if namespace is not specified for finding the class path (at least for controllers).
25 Jan 2012 9:29 AM #2
This example is not complete (which is why it's not on the index page). We will update that documentation so it is more clear.
25 Jan 2012 11:12 AM #3
This is confirmed as a bug in PR4 and fixed (and documented) locally. Will function correctly from B1 onwards. In the meantime a simple workaround is to configure the name and namespace configs manually for your profiles until B1