Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.5.0-beta2
-
Ibexa Experience
Description
Parts of REST input validation throw old \Ibexa\Contracts\Rest\Exceptions\Parser exception when validation fails, while some other parts throw \Ibexa\CorporateAccount\REST\Exception\InputValidationFailedException as a result of Symfony validation.
The background here is that during the development review of REST endpoints we've decided to use Symfony validation. Endpoints implemented prior that (like Create & Update Company and Content Field validation for both Company and Member-related endpoints) are done the old way, while the new endpoints implement it the new way.
The goal is to align everything so it uses consistent Symfony validation.