You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (JIRA)" <ji...@apache.org> on 2015/01/14 18:51:34 UTC

[jira] [Resolved] (SLING-4262) Make ValidationService.getValidationModel accept also relative resource types

     [ https://issues.apache.org/jira/browse/SLING-4262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Konrad Windszus resolved SLING-4262.
------------------------------------
    Resolution: Fixed

> Make ValidationService.getValidationModel accept also relative resource types
> -----------------------------------------------------------------------------
>
>                 Key: SLING-4262
>                 URL: https://issues.apache.org/jira/browse/SLING-4262
>             Project: Sling
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>             Fix For: Validation 1.0.0
>
>         Attachments: SLING-4262-v01.patch
>
>
> 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 "/")



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)