Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-28497 RelationList field type issues
  3. EZP-28501

Trying to select "Default location" for RelationList results in Internal server error

    XMLWordPrintable

Details

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: High High
    • 2.0.0-rc1
    • None
    • Field types
    • None

    Description

      Trying to select a Default selection item for RelationList/RelationObject field type results in an internal server error.

      Steps to reproduce:
      1. Create a new Content Type
      2. Add "ezobjectrelation" or "ezobjectrelationlist" fieldtype
      3. Click "Select item" button (next to "Default selection item)

      Expected:
      UDW is launched

      Actual:
      Internal server error. In the log the following is visible:

      [2017-12-11 17:12:07] php.CRITICAL: Call to a member function getName() on null {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function getName() on null at /home/vagrant/ezplatform/vendor/ezsystems/ezplatform-admin-ui/src/bundle/Controller/ContentTypeController.php:146)"} []
      [2017-12-11 17:12:07] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Call to a member function getName() on null" at /home/vagrant/ezplatform/vendor/ezsystems/ezplatform-admin-ui/src/bundle/Controller/ContentTypeController.php line 146 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Call to a member function getName() on null at /home/vagrant/ezplatform/vendor/ezsystems/ezplatform-admin-ui/src/bundle/Controller/ContentTypeController.php:146)"} []
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            marek.nocon@ibexa.co Marek NocoĊ„
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: