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

Implement options validator for Selection field type

    XMLWordPrintable

Details

    Description

      https://jira.ez.no/browse/EZP-25002 introduces a Selection validator that requires at least one selection option to be present.

      In https://jira.ez.no/browse/EZP-25178 it was found that this fails, since the validator also runs when the field type is added, before the user has had a chance to add any options.

      We should have such a check, but it should not run on adding the fieldtype, or the validator itself should be aware when this happens, and ignore that case.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gunnstein.lye@ibexa.co Gunnstein Lye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: