Problem/Motivation

Prior to the conversion of the node frontpage listing to a view, the "Welcome to Drupal" went away along with the "no content has been created" message once content was created. Now, it does not go away. Setting a view title for the front page also does not override it.

Steps to reproduce

  1. Install 8.x with the standard profile.
  2. Visit the front page. It says "Welcome to Drupal" and prompts you to create new content.
  3. Add an article node.
  4. Revisit the frontpage. It still says "Welcome to Drupal".

very_welcoming.png

The only way to get rid of it is to edit the frontpage view, go to the page display, expand the "advanced" section, look under "no results behavior," and delete the global title override.

view_admin.png

Proposed resolution

?

Remaining tasks

?

CommentFileSizeAuthor
view_admin.png56.58 KBxjm
very_welcoming.png19.66 KBxjm

Comments

xjm’s picture

Component: node.module » views.module
Priority: Normal » Major

Appears to be a bug with the no results behavior + global title override combo. You can also reproduce this by:

  1. Creating a view with a page display that has results.
  2. Adding a global title override to the "No results" behavior.
  3. Visiting the page.

This is a pretty major WTF. Every single site builder is going to run into this bug.

xjm’s picture

Title: "Welcome to Drupal" title no results behavior persists even when there are results » "Welcome to Drupal" title (frontpage view "no results" behavior) persists even when there are results
damiankloip’s picture

Status: Active » Closed (duplicate)

We already have this covered, and RTBC: #1956912: Title area handler sets the title even when it should not (results in "Welcome to Drupal" never going away)

This is a general problem with empty area handlers.

xjm’s picture

Alright, I spent 30 minutes searching for a duplicate--I'm not even kidding--so we need to fix that issue's keywords. :)

xjm’s picture

That said, I'm glad that you replied before I started writing a test for this, since the other is RTBC. ;)

xjm’s picture

Issue summary: View changes

.