Big Menu throw critical error when domain language negotiation in enabled

Created on 18 September 2023, 9 months ago
Updated 25 September 2023, 9 months ago

Problem/Motivation

When domain negotiation is enable, critical error is triggered resulting a white screen. Changes to menu are saved before.
InvalidArgumentException: The user-entered string 'https://mediasmarts.ca/admin/structure/menu/manage/main' must begin with a '/', '?', or '#'. in Drupal\Core\Url::fromUserInput() (line 216 of /code/web/core/lib/Drupal/Core/Url.php).

Steps to reproduce

  • Enable a second laguage
  • Setup language negotiation to domain
  • Save any menu

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡΅πŸ‡ͺPeru hatuhay Lima

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024