You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2020/03/19 13:09:00 UTC

[jira] [Closed] (ISIS-164) [WON'T FIX] The validate() method should apply for updates as well as for objects being initially persisted.

     [ https://issues.apache.org/jira/browse/ISIS-164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Keir Haywood closed ISIS-164.
------------------------------------
    Resolution: Won't Fix

> [WON'T FIX] The validate() method should apply for updates as well as for objects being initially persisted.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: ISIS-164
>                 URL: https://issues.apache.org/jira/browse/ISIS-164
>             Project: Isis
>          Issue Type: Improvement
>          Components: Isis Core
>    Affects Versions: 0.1.2-incubating
>            Reporter: Daniel Keir Haywood
>            Assignee: Daniel Keir Haywood
>            Priority: Minor
>             Fix For: 2.0.0-M3
>
>
> see also ISIS-487
> ~~~
> 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 was sent by Atlassian Jira
(v8.3.4#803005)