If a feed contains a G2 node, node_feed invokes g2_view, which modifies $conf['site_name'] to modify the page title. However, this has a side effect: it changes the feed title, which node_feed obtains using variable_get('site_name').

The same problem happens on taxonomy pages listing a vocabulary having matching G2 nodes.

Upstream issue: #342 / 2008-04-13 21:29:30 +0200

CommentFileSizeAuthor
#3 2822254.patch13.53 KBfgm
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fgm created an issue. See original summary.

fgm’s picture

Version: 5.x-1.x-dev » 8.x-1.x-dev
Parent issue: » #3362685: Port to Drupal 10

Won't be fixed on D5, needs to be tested on D10.

fgm’s picture

Status: Active » Needs review
FileSize
13.53 KB

The logic for feeds generation was completely replaced in Drupal 8, new G2 code for that feed no longer triggers site name overrides, which is now in g2_preprocess_html.

  • fgm committed 3a4bf512 on 8.x-1.x
    Issue #2822254 by fgm: fix the WOTD feed overriding the page title
    
fgm’s picture

Status: Needs review » Fixed

Merged to current dev HEAD.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.