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

      0  

    Default [FIXED] 2.0M3 HtmlContainer Bug setUrl

    [FIXED] 2.0M3 HtmlContainer Bug setUrl


    The HtmlContainer does not allow to set the url more then once, because in method requestData the requestBuilder is not reseted if a new url is set


    Code:
    protected void requestData() {
        if (requestBuilder == null) {
          requestBuilder = new RequestBuilder(httpMethod, url);
        }
        ...
    }
    
     public void setUrl(String url) {
        this.url = url;
        if (!deferDownload) {
          requestData();
        }
      }
    In addition the modifier 'protected' in method requestData does not help well because requestBuilder is private.

    Also any exception that requestBuilder throws is silently ignored.

    Regards,

    Georg

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Fixed in SVN.

Thread Participants: 1