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

Allow different severities per validator

    XMLWordPrintableJSON

Details

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

    Description

      It would be good to be able to define a severity either on the validator itself or within the validation model. That would allow to later on differentiate the handling on how to treat those violations.
      Depending on the violation severity one could decide to either throw an exception or just expose the violation failure message for informational purposes.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: