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

SlingMocks always returns the value of property jcr:primaryType for Resource.getResourceType()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Testing Sling Mock 1.3.0
    • Testing Sling Mock 1.4.0
    • Testing
    • None

    Description

      Even if a resource was created with sling:resourceType being set to some value calling Resource.getResourceType() will always return the value of its "jcr:primaryType" property, even if the "sling:resourceType" property is being set.

      Attachments

        1. SLING-4773-testcase-v1.diff
          2 kB
          Konrad Windszus

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: