Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-9201 in a recent build.
  1. #1
    Sencha User VDP's Avatar
    Join Date
    Feb 2012
    Location
    Boom, Belgium
    Posts
    85
    Vote Rating
    9
    VDP will become famous soon enough

      0  

    Default TreeStore setProxy method doesn't return the proxy object

    TreeStore setProxy method doesn't return the proxy object


    Affects all Ext 4.x versions till Ext 4.2.0

    The setProxy method on every type of store returns the proxy instance. It's also documented that the setProxy method will return a proxy instance.

    http://docs.sencha.com/ext-js/4-2/#!...ethod-setProxy

    However there is no return in the setProxy method.

    http://docs.sencha.com/ext-js/4-2/so...ethod-setProxy

    Suggested fix:
    For versions <= Ext 4.2.0 -> update duckumentation
    For future versions -> Add following line at the bottom of the method to make it consistent.
    Code:
    return me.proxy;
    It's a small one but made me looking for a while... Cheers!

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

Tags for this Thread