Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 82954 invoked from network); 19 Nov 2004 12:15:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Nov 2004 12:15:58 -0000 Received: (qmail 38382 invoked by uid 500); 19 Nov 2004 12:15:53 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 38298 invoked by uid 500); 19 Nov 2004 12:15:53 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 38280 invoked by uid 99); 19 Nov 2004 12:15:52 -0000 X-ASF-Spam-Status: No, hits=0.0 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.28) with ESMTP; Fri, 19 Nov 2004 04:15:52 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id iAJBobGQ027567 for ; Fri, 19 Nov 2004 12:50:37 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id iAJBob9q027565; Fri, 19 Nov 2004 12:50:37 +0100 Date: Fri, 19 Nov 2004 12:50:37 +0100 Message-Id: <200411191150.iAJBob9q027565@ajax.apache.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 32020] - [configuration] Fails silently if asked to save to an invalid filename X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.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=32020 ------- Additional Comments From ebourg@apache.org 2004-11-19 12:50 ------- I'm going to change AbstractFileConfiguration in order to have a consistent behaviour with the following operations: (1) FileConfiguration config = new FileConfiguration(file); config.save(); (2) FileConfiguration config = new FileConfiguration(); config.setFile(file); config.save(); (3) FileConfiguration config = new FileConfiguration(); config.save(file); In all 3 cases, the file will be created when the configuration is saved. For (1) this implies the configuration is loaded only if the file exists, the ConfigurationException will no longer be thrown if the file doesn't exist. (3) is slightly different because it doesn't change the file associated with the configuration, this will not change. - -- 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