Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2835

Block name validation not working / present

    XMLWordPrintable

Details

    Description

      When editing a zone block, Name is a required field. If content is delete and field left blanks, there is no validation / validation message, instead system throws a fatal error.

      Steps:

      1. Log in to backoffice as admin.
      2. Edit Landing Page.
      3. Add e.g. Code block.
      4. Open Settings.
      5. Leave the Name field empty.
      6. Submit.

      Actual result: Exception occurs

      Expected argument of type "string", "NULL" given [in vendor/symfony/symfony/src/Symfony/Component/PropertyAccess/PropertyAccessor.php:269]
      

      Remarks: Validation for the Content field works correctly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            630accb7-ebc7-47a4-a912-60911f641030@accounts.ibexa.co David Broadfoot
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: