You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Jira)" <ji...@apache.org> on 2023/05/12 20:31:00 UTC

[jira] [Created] (SLING-11874) MockNode should auto-set created/lastModified prop values when appropriate

Eric Norman created SLING-11874:
-----------------------------------

             Summary: MockNode should auto-set created/lastModified prop values when appropriate
                 Key: SLING-11874
                 URL: https://issues.apache.org/jira/browse/SLING-11874
             Project: Sling
          Issue Type: Improvement
          Components: Testing
            Reporter: Eric Norman
            Assignee: Eric Norman
             Fix For: Testing JCR Mock 1.6.10


MockNode should auto-set system generated value if the specified property definition is known to expect it.  This should happen in the addNode and the addMixin methods.

Specifically the jcr:created, jcr:createdBy, jcr:lastModified and jcr:lastModifiedBy properties should be assign generated values when appropriate.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)