Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24347

Expose FieldType validation from API

    XMLWordPrintable

Details

    Description

      API FieldType objects returned by FieldTypeService cannot validate value/settings like SPI FieldType objects. So it's not possible to implement external validation like used in Symfony Form / Validation components.

      Would be nice to have validate() / validateValidatorConfiguration() / validateFieldSettings() as proxies.

      Potential issue: ValidationError objects returned by those methods belong to SPI.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jerome.vieilledent-obsolete@ez.no Jérôme Vieilledent (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: