Details
-
Bug
-
Resolution: Unresolved
-
High
-
None
-
3.0.0-beta3
-
None
Description
When you delete an user, on all objects, where this user was the creator or last contributer, the subitem list isn't loaded ("Cannot load location"). This affects the parent too.
The related request returns something like this:
{ "errors": [ { "message": "Internal server Error", "extensions": { "category": "internal" }, "locations": [ { "line": 31, "column": 37 } ], "path": [ "_repository", "location", "children", "edges", 5, "node", "content", "_info", "owner" ] } ], "data": { ... } }
And the logs look like this:
[GraphQL] eZ\Publish\Core\Base\Exceptions\NotFoundException: Could not find 'Content' with identifier 'array ( 'id' => 3800, 'languages' => array ( ), 'versionNo' => NULL, )'[404] (caught throwable) at /var/www/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/ContentService.php line 370. {"throwable":"[object] eZ\\Publish\\Core\\Base\\Exceptions\\NotFoundException(code: 404): Could not find 'Content' with identifier 'array (\n 'id' => 3800,\n 'languages' => \n array (\n ),\n 'versionNo' => NULL,\n)' at /var/www/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Repository/ContentService.php:370, eZ\\Publish\\Core\\Base\\Exceptions\\NotFoundException(code: 404): Could not find 'content' with identifier 'contentId: 3800, versionNo: ' at /var/www/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/Persistence/Legacy/Content/Handler.php:315)"} []
I found out, that content id 3800 was in our case an old user, which was someday deleted.
Steps to reproduce:
1. Create an user
2. Log in with this user
3. Create or edit an object, publish it
4. delete this user
5. Try to navigate to this created/edited object
Tested on v3.0.0-beta3