Results 1 to 2 of 2

Thread: [FIXED] 2.0M3 HtmlContainer Bug setUrl

    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
      0  

    Default [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
      0  

    Default

    Fixed in SVN.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •