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

        Michał Szołtysek created issue -
        Michał Szołtysek made changes -
        Field Original Value New Value
        Status Open [ 1 ] Confirmed [ 10037 ]
        Michał Szołtysek made changes -
        Attachment EZP-30300 1.png [ 32567 ]
        Attachment EZP-30300 2.png [ 32568 ]
        Michał Szołtysek made changes -
        Description Setting tree root to location id 1 causes Internal Sever Error.

        *Steps:*
        # In {{app/config/ezplatform.yml}} set {{tree_root_location_id: 1}}.
        # Log in as admin to the back-office.
        # Go to Content / Content structure.
        # Open Content tree.

        *Issue:* Tree does not load, Internal Server Error occurs with error description "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" (attached).
        Setting tree root to location id 1 causes Internal Sever Error.

        *Steps:*
        # In {{app/config/ezplatform.yml}} set {{tree_root_location_id: 1}}.
        # Log in as admin to the back-office.
        # Go to Content / Content structure.
        # Open Content tree.

        *Issue:* Tree does not load, Internal Server Error occurs with error description (attached).
        {code}
        "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"
        {code}
        Dawid Parafiński made changes -
        Assignee Dawid Parafiński [ david.parafinski@ez.no ]
        Dawid Parafiński made changes -
        Status Confirmed [ 10037 ] InputQ [ 10001 ]
        Adam Wójs made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee Dawid Parafiński [ david.parafinski@ez.no ] Adam Wójs [ adam.wojs@ez.no ]
        Adam Wójs made changes -
        Status Development [ 3 ] Development Review [ 10006 ]
        Michał Szołtysek made changes -
        Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
        Assignee Adam Wójs [ adam.wojs@ez.no ]
        Michał Szołtysek made changes -
        Status Documentation Review done [ 10011 ] QA [ 10008 ]
        Michał Szołtysek made changes -
        Status QA [ 10008 ] QA Done [ 10007 ]
        Fix Version/s 2.3.3 [ 15096 ]
        Fix Version/s 2.4.3 [ 15116 ]
        Fix Version/s 2.5.0-rc2 [ 15120 ]
        Assignee Michał Szołtysek [ michal.szoltysek@ez.no ]
        Michał Szołtysek made changes -
        Status QA Done [ 10007 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Michał Szołtysek made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Michał Szołtysek made changes -
        Fix Version/s 2.5.0-rc2 [ 15120 ]
        Michał Szołtysek made changes -
        Environment PROD, DEV
        Łukasz Serwatka made changes -
        Assignee Adam Wójs [ adam.wojs@ez.no ]
        Michał Szołtysek made changes -
        Status Reopened [ 4 ] Confirmed [ 10037 ]
        Michał Szołtysek made changes -
        Status Confirmed [ 10037 ] InputQ [ 10001 ]
        Michał Szołtysek made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Assignee Adam Wójs [ adam.wojs@ez.no ] Michał Szołtysek [ michal.szoltysek@ez.no ]
        Michał Szołtysek made changes -
        Status Development [ 3 ] Development Review [ 10006 ]
        Michał Szołtysek made changes -
        Status Development Review [ 10006 ] Documentation Review done [ 10011 ]
        Assignee Michał Szołtysek [ michal.szoltysek@ez.no ]
        Michał Szołtysek made changes -
        Status Documentation Review done [ 10011 ] QA [ 10008 ]
        Assignee Michał Szołtysek [ michal.szoltysek@ez.no ]
        Michał Szołtysek made changes -
        Status QA [ 10008 ] QA Done [ 10007 ]
        Assignee Michał Szołtysek [ michal.szoltysek@ez.no ]
        Michał Szołtysek made changes -
        Status QA Done [ 10007 ] Closed [ 6 ]
        Fix Version/s 2.5.0 [ 15104 ]
        Resolution Fixed [ 1 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: