Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Models Validation Impl 1.0.0
-
None
Description
Right now the o.a.s.models.validation.impl.ModelValidationImpl will always throw an InvalidResourceException in case the underlying resource is not valid (according to Sling Validation). With the advent of different severities per issue (SLING-5373) this seems a bit too strict because some validators could be used just for informational purposes. Those validations should not prevent the Sling Model from being instantiated.
Attachments
Issue Links
- is related to
-
SLING-6534 Optionally cache results of ValidationService.validate(Resource, ValidationModel) and expose the cached result via an AdapterFactory
- Closed
- relates to
-
SLING-5373 Allow different severities per validator
- Closed