Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Testing Sling Mock 1.6.0
-
None
-
None
Description
Assuming one wants to import the following structure for a test:
"list-children-paginated": { "jcr:primaryType" : "nt:unstructured", "jcr:createdBy" : "admin", "orderBy" : "jcr:created", "jcr:lastModifiedBy": "admin", "feedEnabled" : true, "pageMax" : "2", "jcr:created" : "Mon Jan 11 2016 15:23:53 GMT+0100", "limit" : "0", "displayAs" : "default", "jcr:lastModified" : "Tue Jan 12 2016 15:40:55 GMT+0100", "sling:resourceType": "project/components/list", "listFrom" : "children" }
the Resource obtained from the RESOURCERESOLVER_MOCK will not have the jcr:created / jcr:lastModified properties defined in its ValueMap.