incubator-isis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Haywood (JIRA)" <j...@apache.org>
Subject [jira] Created: (ISIS-18) The validate() method should apply for updates as well as for objects being initially persisted.
Date Mon, 13 Dec 2010 11:54:01 GMT
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.


Mime
View raw message