On the front page, the page title is missing. This results in <title> | Drupal 8</title> instead of <title>Home | Drupal 8</title>.
Patch follows.
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | 2150123-16-node-add-page-title.patch | 1.75 KB | BarisW |
On the front page, the page title is missing. This results in <title> | Drupal 8</title> instead of <title>Home | Drupal 8</title>.
Patch follows.
| Comment | File | Size | Author |
|---|---|---|---|
| #16 | 2150123-16-node-add-page-title.patch | 1.75 KB | BarisW |
Comments
Comment #1
BarisW commentedComment #2
BarisW commentedBy the way; this happens when you have some content on the front page. To reproduce it, just create a node and visit the front page. Notice the page title in the browser window.
Comment #3
BarisW commentedComment #4
BarisW commentedAnd now with a test as well.
Comment #6
BarisW commentedComment #9
BarisW commented4: 2150123-4-node-add-page-title.patch queued for re-testing.
Comment #10
dawehnerPerfect!
Comment #11
amateescu commentedThis will do a full Drupal install (which adds a few seconds to the testing time) for a single assertion, wouldn't it be better to stick it in testDrupalIsFrontPage() and rename that one?
Comment #12
BarisW commentedAh, why not. Good point!
Comment #13
amateescu commentedThis should be public function ... ;)
Comment #14
BarisW commentedFine with me, but I only changed its name. It has always been without the 'public'? Should I add it?
Comment #15
amateescu commentedWell.. since we're already touching that line in the patch, we usually cleanup things like this as we go.
Comment #16
BarisW commentedComment #17
dawehnerFeedback got adressed. I kind of consider this as a major bug, given that this is the first impression of drupal for people.
Comment #18
amateescu commentedThanks, Baris! RTBC++
Comment #20
catchCommitted/pushed to 8.x, thanks!