Oracle Commerce 11.3.2 JAX-RS Validation Manager May Not Validate All Fields in the Payload Schema
(Doc ID 2661864.1)
Last updated on APRIL 22, 2020
Applies to:Oracle Commerce Platform - Version 11.3.2 and later
Information in this document applies to any platform.
Prior to 11.3.2, JAX-RS validation will validate all fields regardless if any field fails on validation. However, in 11.3.2, it will stop validating the rest of the fields if any field fails on the validation. Following is an example:
In previous versions it will validate all the fields even though there are empty fields that will fail the validation. This will allow error messages on all those fields that fail the validation be returned. However, in 11.3.2, validation stops after phoneNumber fails the validaiton, and only error message on phoneNumber is returned,
Code change in 11.3.2 such that the validation exits if any field fails the validation.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document