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

Make ValidationService.getValidationModel accept also relative resource types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Validation 1.0.0
    • Validation
    • None

    Description

      Currently there must be a direct match between the validation models resource type given in validatedResourceType and the resourceType given as a parameter to ValidationService.getValidationModel.
      It would be good if in both directions also the search path of the resource resolver would be considered (if one of the given values does not start with a "/")

      Attachments

        1. SLING-4262-v01.patch
          8 kB
          Konrad Windszus

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: