Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Apr 2009
    Posts
    1
    Vote Rating
    0
    cdasilva is on a distinguished road

      0  

    Default [CLOSED][3.0 RC1][DUP] HttpProxy parameter of 0 changing to empty string

    Following code in ext-base.js causes problems with HttpProxy:

    Code:
     
    for(key in o){Ext.each(o[key]||key,function(val,i){buf.push("&",e(key),"=",val!=key?e(val):"");});}
    When passing parameters such as "start=0", the o[key]||key results in comparison of 0||"start" which results in val being equal to "start" instead of "0". This results in the eventual parameters on the URL being "start=" instead of expected "start=0".

  2. #2
    Sencha - Ext JS Dev Team mschwartz's Avatar
    Join Date
    Nov 2008
    Location
    San Diego, Peoples' Republic of California
    Posts
    2,054
    Vote Rating
    19
    mschwartz has a spectacular aura about mschwartz has a spectacular aura about

      0  

    Default

    http://extjs.com/forum/showthread.php?t=65635

    Fix is supplied in the thread

  3. #3
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    18,204
    Vote Rating
    834
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default

    As the previous posted said, this a dupe, closing this off.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 2