Return-Path: Delivered-To: apmail-myfaces-dev-archive@www.apache.org Received: (qmail 5189 invoked from network); 27 Jan 2011 12:42:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Jan 2011 12:42:09 -0000 Received: (qmail 86634 invoked by uid 500); 27 Jan 2011 12:42:08 -0000 Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org Received: (qmail 86340 invoked by uid 500); 27 Jan 2011 12:42:06 -0000 Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "MyFaces Development" Delivered-To: mailing list dev@myfaces.apache.org Received: (qmail 86332 invoked by uid 99); 27 Jan 2011 12:42:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 12:42:05 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Jan 2011 12:42:05 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0RCfivL026369 for ; Thu, 27 Jan 2011 12:41:44 GMT Message-ID: <13557800.238241296132104905.JavaMail.jira@thor> Date: Thu, 27 Jan 2011 07:41:44 -0500 (EST) From: "Rudy De Busscher (JIRA)" To: dev@myfaces.apache.org Subject: [jira] Commented: (EXTVAL-124) The message for 'source' target is not correct in the case of DateIsType.same In-Reply-To: <12357486.238111296131870345.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/EXTVAL-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12987532#action_12987532 ] Rudy De Busscher commented on EXTVAL-124: ----------------------------------------- For the source component, the {0} is the label of the source field itself (which isn't very helpful). Should behave the same as in the case of the MessageTarget.target where we see the other date value that is used to compare with. > The message for 'source' target is not correct in the case of DateIsType.same > ------------------------------------------------------------------------------ > > Key: EXTVAL-124 > URL: https://issues.apache.org/jira/browse/EXTVAL-124 > Project: MyFaces Extensions Validator > Issue Type: Bug > Components: Property Validation > Affects Versions: 1.2.4, 2.0.4 > Reporter: Rudy De Busscher > Priority: Minor > > Using a validation annotation like this: > @DateIs(type = DateIsType.same, valueOf = "endDate", validationErrorMsgTarget = MessageTarget.source) > results in an error message that contains the text 'before' > Date has to be before {0} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.