Return-Path: Delivered-To: apmail-incubator-isis-dev-archive@minotaur.apache.org Received: (qmail 16905 invoked from network); 13 Dec 2010 11:54:27 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Dec 2010 11:54:27 -0000 Received: (qmail 55285 invoked by uid 500); 13 Dec 2010 11:54:27 -0000 Delivered-To: apmail-incubator-isis-dev-archive@incubator.apache.org Received: (qmail 55153 invoked by uid 500); 13 Dec 2010 11:54:26 -0000 Mailing-List: contact isis-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: isis-dev@incubator.apache.org Delivered-To: mailing list isis-dev@incubator.apache.org Received: (qmail 55142 invoked by uid 99); 13 Dec 2010 11:54:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Dec 2010 11:54:25 +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; Mon, 13 Dec 2010 11:54:23 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBDBs1gF024127 for ; Mon, 13 Dec 2010 11:54:02 GMT Message-ID: <31494268.88501292241241858.JavaMail.jira@thor> Date: Mon, 13 Dec 2010 06:54:01 -0500 (EST) From: "Dan Haywood (JIRA)" To: isis-dev@incubator.apache.org Subject: [jira] Created: (ISIS-18) The validate() method should apply for updates as well as for objects being initially persisted. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org The validate() method should apply for updates as well as for objects being initially persisted. ------------------------------------------------------------------------------------------------ Key: ISIS-18 URL: https://issues.apache.org/jira/browse/ISIS-18 Project: Isis Issue Type: Improvement Components: Core: Runtime Reporter: Dan Haywood Currently the validate() method - used to check the overall state of an object, eg fromDate < toDate - only applies for an object that has just been created but not yet persisted. If an object is pulled back from the object store and then updated, the object-level validation is not re-run. For example that the fromDate could be modified > toDate; if there were no check in the modifyFromDate(), then the update would be allowed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.