Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-5656

[Corporate Account] REST input data validation is inconsistent

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.5.0
    • 4.5.0-beta2
    • 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.

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              andrew.longosz@ibexa.co Andrew Longosz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: