Primary local tasks not rendering on entity routes due to striptags filter

Created on 20 December 2023, about 1 year ago
Updated 9 January 2024, about 1 year ago

Problem/Motivation

Primary local tasks (View/Edit/Revisions etc) are invisible on entity pages or any other page where the block renders as a lazy builder.

Steps to reproduce

Use Gin on Drupal 10.2, edit an entity.

Proposed resolution

Unclear, but that check can't rely on rendering that region.

The problem is in page.html.twig here: {% if page.header|without(page_title_block)|render|striptags|trim is not empty %}

That block is a lazy builder on some pages, which means when tags are stripped it will be empty since there's no text content until later.

This was introduced in issue πŸ› Recent change to gin.css hides on gin_login templates Fixed (commit)

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States karlshea Minneapolis πŸ‡ΊπŸ‡Έ

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024