Problem/Motivation

Layout builder discard confirm form misses to set a page title. You can see that in the <title> element for example when using metatags.

We discovered that here: #3214648: Error in layout builder: Argument #1 ($title) must be of type string, null given as the missing title lead to an error in easy_breadcrumbs.

Steps to reproduce

Use layout builder
Open layout builder form
Click "Discard changes"
See the page title on the following page => missing!

Proposed resolution

Add descriptive page title like "Layout Builder: Discard changes"

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

Anybody created an issue. See original summary.

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.0-rc1 was released on November 26, 2021, which means new developments and disruptive changes should now be targeted for the 9.4.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.4.x-dev » 9.5.x-dev

Drupal 9.4.0-alpha1 was released on May 6, 2022, which means new developments and disruptive changes should now be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.5.x-dev » 10.1.x-dev

Drupal 9.5.0-beta2 and Drupal 10.0.0-beta2 were released on September 29, 2022, which means new developments and disruptive changes should now be targeted for the 10.1.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

danielveza’s picture

Status: Active » Closed (cannot reproduce)
Issue tags: +Bug Smash Initiative

Tested this on a fresh install of D11.

When discarding changes on an individual content item or on the default layout there is a title elment on the confirmation form.

Please feel free to reopen if you can provide steps to replicate this.