Details
-
Bug
-
Resolution: Cannot Reproduce
-
Critical
-
None
-
2.1.0-beta1
-
None
Description
After deleting admin user that was last editor of Home page, we got error 500 while loading this Page.
Steps to reproduce
- In the Platform UI, create new User in the "Administrator users" User Group with login "test_admin".
- Log out and log in again as "test_admin".
- Edit "Home" Landing Page Content Object and publish the new version.
- Log out and log in again as "admin".
- Delete User "test_admin".
- Open "Home" page (at route / e.g.).
Expected result
Page renders succesfully
Actual result
RuntimeException HTTP 500 Internal Server Error Error when rendering "http://ez20e.vm/_fragment?_hash=wupZ5z8loMDQ95rdaUUzb8fNbE%2BjCUGCRj0Yos%2F116E%3D&_path=contentId%3D52%26blockId%3Db-fbe4877d-eafe-e650-2f03-58db9bf2df06%26versionNo%3D4%26serialized_siteaccess%3DO%253A38%253A%2522eZ%255CPublish%255CCore%255CMVC%255CSymfony%255CSiteAccess%2522%253A3%253A%257Bs%253A4%253A%2522name%2522%253Bs%253A4%253A%2522site%2522%253Bs%253A12%253A%2522matchingType%2522%253Bs%253A7%253A%2522default%2522%253Bs%253A7%253A%2522matcher%2522%253BN%253B%257D%26_format%3Dhtml%26_locale%3Den_GB%26_controller%3Dez_block%253ArenderBlockAction" (Status code is 302). in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/AbstractSurrogate.php (line 99) AbstractSurrogate->handle(object(AppCache), '/_fragment?_path=contentId%3D52%26blockId%3Db-fbe4877d-eafe-e650-2f03-58db9bf2df06%26versionNo%3D4%26serialized_siteaccess%3DO%253A38%253A%2522eZ%255CPublish%255CCore%255CMVC%255CSymfony%255CSiteAccess%2522%253A3%253A%257Bs%253A4%253A%2522name%2522%253Bs%253A4%253A%2522site%2522%253Bs%253A12%253A%2522matchingType%2522%253Bs%253A7%253A%2522default%2522%253Bs%253A7%253A%2522matcher%2522%253BN%253B%257D%26_format%3Dhtml%26_locale%3Den_GB%26_controller%3Dez_block%253ArenderBlockAction&_hash=wupZ5z8loMDQ95rdaUUzb8fNbE%2BjCUGCRj0Yos%2F116E%3D', '', false) in var/cache/prod/http_cache/en/c8/83/667eb2ae6a293c0a3119d84c3716c282211b6837c79eea25422bbc1651ba (line 16) include('/var/www/html/ez20e/var/cache/prod/http_cache/en/c8/83/667eb2ae6a293c0a3119d84c3716c282211b6837c79eea25422bbc1651ba') in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php (line 597) HttpCache->restoreResponseBody(object(Request), object(Response)) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php (line 191) HttpCache->handle(object(Request), 1, true) in vendor/friendsofsymfony/http-cache-bundle/SymfonyCache/EventDispatchingHttpCache.php (line 122) EventDispatchingHttpCache->handle(object(Request), 1, true) in vendor/ezsystems/ezplatform-http-cache/src/AppCache.php (line 35) AppCache->handle(object(Request)) in web/app.php (line 55) // SEE: https://symfony.com/doc/3.4/deployment/proxies.htmlif ($trustedProxies = getenv('SYMFONY_TRUSTED_PROXIES')) { Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL);}$response = $kernel->handle($request);$response->send();$kernel->terminate($request, $response);