-
17 Jun 2009 10:20 AM #1
[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
In addition the modifier 'protected' in method requestData does not help well because requestBuilder is private.Code:protected void requestData() { if (requestBuilder == null) { requestBuilder = new RequestBuilder(httpMethod, url); } ... } public void setUrl(String url) { this.url = url; if (!deferDownload) { requestData(); } }
Also any exception that requestBuilder throws is silently ignored.
Regards,
Georg
-
24 Jun 2009 5:41 AM #2
Fixed in SVN.
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote