Can't access Layout page for translated node

Created on 24 April 2025, 3 days ago

Problem/Motivation

Can't access the "Layout" page for a translated node. Site is configured with Italian as default language and English as additional one.

Steps to reproduce

  1. add a node: /node/add/landing_page_lb
  2. save; new node is created and "Edit layout" page is presented: /node/11720/layout
  3. save layout and add translation: /en/node/11720/translations/add/it/en
  4. save translation; "Edit layout" page is presented: /en/node/11720/layout - but it fails with "You are not authorized to access this page"

In the logs I get:

Path: /en/node/11720/layout. Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 117 of /var/www/itmi-dev/public_html/core/lib/Drupal/Core/Routing/AccessAwareRouter.php).

but I'm logged as user 1! Any hints?

šŸ› Bug report
Status

Active

Version

10.1

Component

Code

Created by

šŸ‡®šŸ‡¹Italy ggamba Milano

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024