[PP-1] Empty breadcrumb at node/add and node/add/{content_type} when frontpage view is enabled

Created on 23 June 2021, over 3 years ago
Updated 24 February 2023, over 1 year ago

Problem/Motivation

The fix in #2716019: View titles in breadcrumb and metatag title don't get properly translated β†’ introduced a small bug that creates an empty breadcrumb menu item because the frontpage view has no title.

The result:

Steps to reproduce

1. Create a Basic Page with the title "Home" and path /home
2. Set the default front page to /home
3. Visit node/add/article

Proposed resolution

Current proposal

Add a breadcrumb builder that applies to node/add and node/add/{content_type} that outputs the respective breadcrumbs:

  • For node/add: Home - Administration - Content
  • For node/add/{content type}: Home - Administration - Content - Add content

The breadcrumb builder will be marked as deprecated for removal in 10.x, with a follow-up issue being filed against 10.x to move relevant node/add paths to sit under admin/content.

Original proposal

A UX team review decided that this is an unacceptable workaround, as it has unintended consequences.

Workarounds

If this is impacting your site, there are at least two ways a site administrator can work around the problem:

  • Set a title for the Frontpage view.
  • Disable the Frontpage view.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Postponed

Version

10.1 ✨

Component
ViewsΒ  β†’

Last updated about 1 hour ago

Created by

πŸ‡ΊπŸ‡ΈUnited States katherined

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024