Details
-
Bug
-
Resolution: Fixed
-
High
-
2.5.0-rc1
-
PROD, DEV
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 (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"