You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/07/29 09:18:05 UTC

[jira] [Commented] (SLING-4876) Support resource type inheritance for validator models

    [ https://issues.apache.org/jira/browse/SLING-4876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14645606#comment-14645606 ] 

ASF GitHub Bot commented on SLING-4876:
---------------------------------------

GitHub user kwin opened a pull request:

    https://github.com/apache/sling/pull/100

    SLING-4876 support inheritance for validation models

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kwin/sling SLING-4876-support-inheritance-for-validation

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/sling/pull/100.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #100
    
----
commit b3203ae889c56013ad2f845f8832ad0c4f5dcf1f
Author: Konrad Windszus <ko...@netcentric.biz>
Date:   2015-07-23T14:47:32Z

    SLING-4876 support resource type inheritance on validation models

commit 8aaa907943b7796f022c0aafa617ab3efe7627b6
Author: Konrad Windszus <ko...@netcentric.biz>
Date:   2015-07-23T16:16:12Z

    SLING-4876 pass around the resource resolver

----


> Support resource type inheritance for validator models
> ------------------------------------------------------
>
>                 Key: SLING-4876
>                 URL: https://issues.apache.org/jira/browse/SLING-4876
>             Project: Sling
>          Issue Type: Improvement
>          Components: Validation
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>             Fix For: Validation 1.0.0
>
>
> Currently there must be a direct match of the resource type given in the validation model and the resource type of the content resource. 
> But resource type inheritance should also be taken into account, so the validation model of the given resource type and the one for the super resource types should all be taken into account and the results should be merged!



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