Fix head tests or fix related functionality if necessary

Created on 23 April 2025, 20 days ago

Problem/Motivation

A 2.0.x branch has been created, there's known test failures that will need some time to figure out.

Steps to reproduce

Run the pipeline and see the errors.

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

N/A

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada joseph.olstad

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

Comments & Activities

  • Issue created by @joseph.olstad
  • 🇨🇦Canada joseph.olstad

    Possible lead to a fix.

    Steps to reproduce:

    1. Fresh install of Drupal 10.4.6
    2. Set french as original language (site default language)
    3. Add english as a second language option
    4. configure language negotiation using a two letter prefix
    5. install layout_builder_st
    6. configure a bundle like article or basic page to have translation enabled
    7. create a node, then try to edit the layout on one node in english (the second language)

    Exception occurs

    - edit the layout on the same node using french (the original/site default language), no error , able to edit the layout without exception.

    see screenshot:

    exception message follows: (from core)

    The website encountered an unexpected error. Try again later.
    
    TypeError: Drupal\Component\Utility\UrlHelper::buildQuery(): Argument #1 ($query) must be of type array, null given, called in /docroot/html/core/modules/contextual/contextual.module on line 178 in Drupal\Component\Utility\UrlHelper::buildQuery() (line 42 of core/lib/Drupal/Component/Utility/UrlHelper.php).
  • 🇨🇦Canada joseph.olstad

    My guess is, something in core changed between Drupal 9.5 through to Drupal 10.4 / Drupal 11.1 causing this exception to be thrown.

Production build 0.71.5 2024