Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-164

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 0.1.2-incubating
    • 2.0.0-M3
    • Core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              danhaywood Daniel Keir Haywood
              danhaywood Daniel Keir Haywood
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: