Problem/Motivation

After enabling the LanguageNegotiationUserAdmin plugin we get a access denied on the "entity.node.content_translation_add" route.

Steps to reproduce

  • We enable the LanguageNegotiationUserAdmin plugin.
  • Then we go to the translation tab of a node "/node/%node/translations"
  • We try to add an english translation

Proposed resolution

Add extra logic to get the route_name.
Same logic as in the LanguageNegotiationUserAdmin plugin.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

p-neyens created an issue.

andreasderijcke’s picture

I confirm the issue. The proposed solution works for us.