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

Implement options validator for Selection field type

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Backlog
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 2015.11.2
    • Fix Version/s: None
    • Labels:
      None

      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

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              gunnstein.lye@ez.no Gunnstein Lye
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: