Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 24840 invoked from network); 13 Dec 2005 17:27:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Dec 2005 17:27:40 -0000 Received: (qmail 27096 invoked by uid 500); 13 Dec 2005 11:56:17 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 27033 invoked by uid 500); 13 Dec 2005 11:56:17 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 27015 invoked by uid 99); 13 Dec 2005 11:56:17 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Dec 2005 03:56:16 -0800 Received: by ajax.apache.org (Postfix, from userid 99) id 103B7230; Tue, 13 Dec 2005 12:55:55 +0100 (CET) From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 37886] New: - setUrl and getUrl for FileConfiguration are incorrect X-Bugzilla-Reason: AssignedTo Message-Id: <20051213115555.103B7230@ajax.apache.org> Date: Tue, 13 Dec 2005 12:55:55 +0100 (CET) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=37886 Summary: setUrl and getUrl for FileConfiguration are incorrect Product: Commons Version: unspecified Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Configuration AssignedTo: commons-dev@jakarta.apache.org ReportedBy: e.lacazedieu@lectra.com We use XMLConfiguration to store our application user preferences. the preferences are persisted in a FileManager, which delivers the files using the HTTP protocol. As each user has its own preferences, the URL we use to get the preferences is : http://server/ContentAcces?id=&session= As the code of setUrl in AbstractFileConfiguration is : public void setURL(URL url) { setBasePath(ConfigurationUtils.getBasePath(url)); setFileName(ConfigurationUtils.getFileName(url)); } the request parameters of the URL are not stored in the URL, and when getUrl is called, null is returned, because the composed URL (http://server/ContentAcces) cannot be opened. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org