Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7839

sling-mock: Import jcr:uuid property in ContentLoader for resource resolver types that support it

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Testing Sling Mock 2.3.0
    • Testing Sling Mock 2.3.2
    • Testing

    Description

      currently the ContentLoader implementation always ignores properties with jcr:uuid property, because it's not possible to set a uuid manually when creating nodes in via the JCR API in a real oak repository.

      but this restriction only applies when using the JCR_OAK resource resolver type - for the other types, especially RESOURCERESOLVER_MOCK and JCR_MOCK, this should be allowed to support unit tests relying on uuid versions present.

      Attachments

        Activity

          People

            sseifert Stefan Seifert
            sseifert Stefan Seifert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: