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

[Content tree] Setting tree root to location id 1 causes Internal Sever Error

    Details

      Description

      Setting tree root to location id 1 causes Internal Sever Error.

      Steps:

      1. In app/config/ezplatform.yml set tree_root_location_id: 1.
      2. Log in as admin to the back-office.
      3. Go to Content / Content structure.
      4. Open Content tree.

      Issue: Tree does not load, Internal Server Error occurs with error description (attached).

       
      "Type error: Argument 2 passed to eZ\Publish\Core\Repository\Helper\DomainMapper::buildLocationWithContent() must be an instance of eZ\Publish\API\Repository\Values\Content\Content, null given, called in /var/www/ezplatform-upgrade/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/LocationService.php on line 251"
      

      1. EZP-30300 1.png
        123 kB
      2. EZP-30300 2.png
        180 kB

        Activity

        Show
        Michał Szołtysek added a comment - Follow-up merged to 7.4: https://github.com/ezsystems/ezpublish-kernel/commit/03145913570ca53991f1284845c06f1698c7759e
        Hide
        Adam Wójs added a comment -
        Show
        Adam Wójs added a comment - PR with follow up: https://github.com/ezsystems/ezpublish-kernel/pull/2587
        Show
        Michał Szołtysek added a comment - Merged to 7.3: https://github.com/ezsystems/ezpublish-kernel/commit/18a66f019104a58b75942458c905b486478f471e
        Hide
        Michał Szołtysek added a comment -

        QA Approved.

        Show
        Michał Szołtysek added a comment - QA Approved.
        Show
        Adam Wójs added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/2560

          People

          • Assignee:
            Unassigned
            Reporter:
            Michał Szołtysek
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: