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

Adding a "selection" field to a content type raises an error

    Details

      Description

      H5.Steps to Reproduce

      • Create a content type
      • In the content type, add a "selection" field

      When pressing the "add" button, the following error appears

      eZ\Publish\Core\Base\Exceptions\ContentTypeFieldDefinitionValidationException: ContentType FieldDefinitions did not validate 
      

      and
      a 500 erros is displayed in developer tools, with response

      <div data-name="title"></div>
       
      <div data-name="html">
          <header class="ez-page-header">
                                  
                   </header>
          </div>
       
      <ul data-name="notification">
          <li data-state="error">eZ\Publish\Core\Base\Exceptions\ContentTypeFieldDefinitionValidationException: ContentType FieldDefinitions did not validate</li>
      </ul>
      

        Issue Links

          Activity

          Show
          Gunnstein Lye added a comment - - edited Regression from the kernel part of https://jira.ez.no/browse/EZP-25002 i.e. https://github.com/ezsystems/ezpublish-kernel/pull/1495 which was merged in https://github.com/ezsystems/ezpublish-kernel/commit/b10fc2e16b8fb937b00e414a51b805239d0e3d3e
          Hide
          Gunnstein Lye added a comment -

          PR which reverts the problematic part of EZP-25002: https://github.com/ezsystems/ezpublish-kernel/pull/1530

          Show
          Gunnstein Lye added a comment - PR which reverts the problematic part of EZP-25002 : https://github.com/ezsystems/ezpublish-kernel/pull/1530
          Hide
          Gunnstein Lye added a comment -

          Merged in master: https://github.com/ezsystems/ezpublish-kernel/commit/dc8b5ebc4f4e9fd4887c55eb65d0942131b1f0b6

          Will make follow-up to ensure we have validation for options again.

          Show
          Gunnstein Lye added a comment - Merged in master: https://github.com/ezsystems/ezpublish-kernel/commit/dc8b5ebc4f4e9fd4887c55eb65d0942131b1f0b6 Will make follow-up to ensure we have validation for options again.
          Hide
          Gunnstein Lye added a comment -
          Show
          Gunnstein Lye added a comment - Follow-up: https://jira.ez.no/browse/EZP-25253
          Hide
          Rui Silva (Inactive) added a comment -

          Tested and approved by QA for master.

          Show
          Rui Silva (Inactive) added a comment - Tested and approved by QA for master.

            People

            • Assignee:
              Unassigned
              Reporter:
              Paulo Nunes (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 30 minutes
                1h 30m