Return-Path: Delivered-To: apmail-incubator-wicket-commits-archive@locus.apache.org Received: (qmail 85572 invoked from network); 1 Mar 2007 13:34:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 13:34:12 -0000 Received: (qmail 82010 invoked by uid 500); 1 Mar 2007 13:34:20 -0000 Delivered-To: apmail-incubator-wicket-commits-archive@incubator.apache.org Received: (qmail 81994 invoked by uid 500); 1 Mar 2007 13:34:20 -0000 Mailing-List: contact wicket-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: wicket-dev@incubator.apache.org Delivered-To: mailing list wicket-commits@incubator.apache.org Received: (qmail 81965 invoked by uid 99); 1 Mar 2007 13:34:20 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 05:34:20 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Mar 2007 05:34:11 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 34034714293 for ; Thu, 1 Mar 2007 05:33:51 -0800 (PST) Message-ID: <16861584.1172756031210.JavaMail.jira@brutus> Date: Thu, 1 Mar 2007 05:33:51 -0800 (PST) From: "Martin Benda (JIRA)" To: wicket-commits@incubator.apache.org Subject: [jira] Updated: (WICKET-341) [Patch] AjaxServerAndClientTimeFilter either throws an exception or displays a wrong text In-Reply-To: <16073622.1172755910730.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/WICKET-341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Benda updated WICKET-341: -------------------------------- Attachment: AjaxServerAndClientTimeFilter.patch > [Patch] AjaxServerAndClientTimeFilter either throws an exception or displays a wrong text > ----------------------------------------------------------------------------------------- > > Key: WICKET-341 > URL: https://issues.apache.org/jira/browse/WICKET-341 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 2.0 > Reporter: Martin Benda > Attachments: AjaxServerAndClientTimeFilter.patch > > > When IResourceSettings.getThrowExceptionOnMissingResource() is true (the default value), the AjaxServerAndClientTimeFilter throws MissingResourceException instead of displaying a default message "Server parsetime: X, Client parsetime: Y". > Moreover, when "ServerAndClientTimeFilter.statustext" and "ajax.ServerAndClientTimeFilter.statustext" resource keys are defined, it does not throw the exception, but a wrong message is displayed --- ${servertime} and ${clienttime} variables in the resource string are not interpolated. > The attached patch fixes both bugs. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.