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 ]
        Show
        Adam Wójs added a comment - PR: https://github.com/ezsystems/ezpublish-kernel/pull/2560
        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 ]
        Hide
        Michał Szołtysek added a comment -

        QA Approved.

        Show
        Michał Szołtysek added a comment - QA Approved.
        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 ]
        Show
        Michał Szołtysek added a comment - Merged to 7.3: https://github.com/ezsystems/ezpublish-kernel/commit/18a66f019104a58b75942458c905b486478f471e
        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 ]
        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
        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 ]
        Show
        Michał Szołtysek added a comment - Follow-up merged to 7.4: https://github.com/ezsystems/ezpublish-kernel/commit/03145913570ca53991f1284845c06f1698c7759e
        Michał Szołtysek made changes -
        Status QA Done [ 10007 ] Closed [ 6 ]
        Fix Version/s 2.5.0 [ 15104 ]
        Resolution Fixed [ 1 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Confirmed Confirmed
        11s 1 Michał Szołtysek 13/Mar/19 10:53 AM
        Closed Closed Reopened Reopened
        7d 22h 46m 1 Michał Szołtysek 26/Mar/19 12:55 PM
        Reopened Reopened Confirmed Confirmed
        3h 14m 1 Michał Szołtysek 26/Mar/19 4:10 PM
        Confirmed Confirmed InputQ InputQ
        16m 17s 2 Michał Szołtysek 26/Mar/19 4:10 PM
        InputQ InputQ Development Development
        1d 4h 58m 2 Michał Szołtysek 26/Mar/19 4:10 PM
        Development Development Development Review Development Review
        21s 2 Michał Szołtysek 26/Mar/19 4:11 PM
        Development Review Development Review Documentation Review done Documentation Review done
        21h 55m 2 Michał Szołtysek 26/Mar/19 4:11 PM
        Documentation Review done Documentation Review done QA QA
        40s 2 Michał Szołtysek 26/Mar/19 4:11 PM
        QA QA QA Done QA Done
        3d 15h 36m 2 Michał Szołtysek 27/Mar/19 7:43 AM
        QA Done QA Done Closed Closed
        1m 58s 2 Michał Szołtysek 27/Mar/19 7:44 AM

          People

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

            Dates

            • Created:
              Updated:
              Resolved: