Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1566 in a recent build.
  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    36
    Vote Rating
    0
    benben is on a distinguished road

      0  

    Default [PR4] Profile "name" vs "namespace" and documentation

    [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).

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    20
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    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.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    7
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    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
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

Thread Participants: 2

Tags for this Thread