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

Allow to skip validation of sub resources based on a property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Validation
    • None

    Description

      Sometimes it is useful to skip some resources in ValidationMessage.validateAllResourceTypesInResource not only depending on the actual resource type but based on some other condition. To keep things simple I would suggest to have a property with a special name e.g. sling:skipValidation to allow to skip validation for a specific sub resource.
      Then the property could just be set to true in case that resource should always be skipped for validateAllResourceTypesInResource, independent of the resource type.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: