Just have upgraded from 6.x-1.3-beta3 to 6.x-1.3-beta4 and found the following bug
The meta tags keywords and description of all my stories are those of the first stories I have published.
I use the option : "Use the node teaser if the description meta tag is not set"

By example , if you check the meta tags for :
http://www.soulfulbits.com/content/retour-du-bloc-titres
or
http://www.soulfulbits.com/content/darondo
you will notice that the meta tags come from
http://www.soulfulbits.com/content/win-wattstax-dvd

Comments

avpaderno’s picture

I cannot reproduce this.

I edited the meta tags of five story nodes, and this what I see when I check the source of the last node:

  <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/dr61/misc/favicon.ico" type="image/x-icon" />
<link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
<link rel="canonical" href="http://sunradio.local/dr61/node/2" />
<meta name="description" content="Dolore Loquor Illum Velit Esca Olim" />
<meta name="dc.creator" content="KiamLaLuno" />
<meta name="dc.date" content="2009-10-30T00:00:00Z" />
<meta name="dc.description" content="Dolore Loquor Illum Velit Esca Olim" />
<meta name="dc.title" content="Test story" />
<meta name="revisit-after" content="1 day" />
    <title>Dolore Loquor Illum Velit Esca Olim | Drupal</title>
    <link type="text/css" rel="stylesheet" media="all" href="/dr61/modules/book/book.css?H" />
<link type="text/css" rel="stylesheet" media="all" href="/dr61/modules/node/node.css?H" />
<link type="text/css" rel="stylesheet" media="all" href="/dr61/modules/poll/poll.css?H" />
<link type="text/css" rel="stylesheet" media="all" href="/dr61/modules/system/defaults.css?H" />
<link type="text/css" rel="stylesheet" media="all" href="/dr61/modules/system/system.css?H" />
<link type="text/css" rel="stylesheet" media="all" href="/dr61/modules/system/system-menus.css?H" />
<link type="text/css" rel="stylesheet" media="all" href="/dr61/modules/user/user.css?H" />
<link type="text/css" rel="stylesheet" media="all" href="/dr61/modules/comment/comment.css?H" />
<link type="text/css" rel="stylesheet" media="all" href="/dr61/themes/garland/style.css?H" />
<link type="text/css" rel="stylesheet" media="print" href="/dr61/themes/garland/print.css?H" />
        <!--[if lt IE 7]>
      <link type="text/css" rel="stylesheet" media="all" href="/dr61/themes/garland/fix-ie.css" />    <![endif]-->
  </head>

All nodes have a different title, and I tried to set both the meta DESCRIPTION, and ABSTRACT.

avpaderno’s picture

Title: 6.x-1.3-beta4 bug on Keywords & decription » Problems with meta tags DESCRIPTION, and KEYWORDS
Status: Active » Postponed (maintainer needs more info)

Are you using PHP 5.3?

avpaderno’s picture

I have noticed that the canonical URL for the node I reported should be http://sunradio.local/dr61/node/20, not http://sunradio.local/dr61/node/2.

I wonder if it is a problem with $options['ids'][0] which is taken as a string operation (in that case it would return the first character of the string, as it seems in this case); that would mean that $options['ids'] is a string, even if it is supposed to be an array.

avpaderno’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)

This issue, and #618576: Invalid argument supplied for foreach are both caused by the same cause.

I am marking this report as duplicate of that other report.

stillcut’s picture

bug fixed by the beta5.

Thanx !