Submitted values are not saved when editing a node. There are no error messages displayed on page nor in the log messages.

More details :

This is fresh Drupal 7.12 install with only Chaos tools 7.x-1.0-rc2, Token 7.x-1.0-rc1, Meta tags 7.x-1.0-alpha5 modules installed. Front page tags are saved (i.e. Keywords) and inserted in HTML code. However on any article or basic page node, tags are not saved. Steps to reproduce :

  • create or edit any article
  • change Description field value from "[node:summary]" to "This is a test."
  • hit Save button
  • edit again same article
  • Description field value is stille "[node:summary]"

Same thing with Meta tags 7.x-1.0-dev.

Did I miss something ?

CommentFileSizeAuthor
#7 1506676-data-not-saved.patch600 bytesBevan

Comments

dave reid’s picture

Priority: Normal » Major
Status: Active » Fixed

Blarg, I had a bug in the beta5. The metatag data is actually saved properly, but it's not loaded back into the entities properly. I fixed this with http://drupalcode.org/project/metatag.git/commit/b2b6afc

nicolas bouteille’s picture

Faced the same problem and though for a moment I had lost all my description and keyword tags.
Thanks for the quick fix, everything's still there again :)

goldhat’s picture

I just tried 7.x-1.x-dev and in that version the node meta data is saved, but is not actually used. After adding meta descriptions to my nodes, I found there was not actually a meta description tag in those nodes.

Not sure if this is a completely different issue or related, so I thought I would try here before opening a new ticket.

jenlampton’s picture

I think the bug was in the alpha 5 version (not beta 5)
thanks for the fix!

webmaster@travel-bird.com’s picture

Hi. I'm having exactly same problem - no description meta tag thorough out my site unfortunately.

I totally didn't get the solution above, may I request an explanation please?

I'm using Drupal 7 and meta tags quick didn't work either for me so that is my only option I believe.

thanks

jenlampton’s picture

The solution is to upgrade to the -dev release, but I agree, a patch might be useful here. Or a new release? :)

Bevan’s picture

StatusFileSize
new600 bytes

Here is a standard git patch, from drupalcode.org.

remkovdz’s picture

I had the same problem and fixed it by installing the newest DEV module.

However, the Meta Description on the frontpage is still not showing up. Any ideas?

FrancescoUK’s picture

Yes, facing the same issue here with the front page. No meta. OT

dave reid’s picture

"The meta tags are not being saved and I don't see them when I re-edit a node" is a different issue from "The meta tags aren't being output."

KroKroDile’s picture

Hi,

The patch #7 is working for me.

Tx

charlietoleary’s picture

I believe that that because this issue is so major and the 7.x-dev version only contains this patch: it should be moved up to alpha-5 release ASAP.

no2e’s picture

"The meta tags are not being saved and I don't see them when I re-edit a node" is a different issue from "The meta tags aren't being output."

But according to the Issue Summary, this is exactly the issue here, right? So the patch #7 won't help for this issue?

I have the same problem: I edit the metatags on a node edit form and save it → no metatags are output. When I re-edit the node, the defaults are there, not my edits.

ben.swinburne’s picture

Just to confirm that the aforementioned patches do indeed fix the saving issue in Metatag: 7.x-1.0-alpha5

As for them not being output for some, it's likely the unrelated issue Metatags not working on overwritten templates

lordbucanero’s picture

Thanks a lot for the solution

ivanhi’s picture

The patch is working for me as well.

whitingx’s picture

Patch in #7 worked great.

Thanks for the solution.

constantinejohny’s picture

#7 works for me as well thanx a lot! :)

frankaz’s picture

Thanks! #7 Worked =)

Status: Fixed » Closed (fixed)

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

charlie-s’s picture

I'm not experiencing this in -alpha5 but I am experiencing this in -dev. The data is saved but the defaults are re-populated on the form. Thought someone would want to know.

Sinan Erdem’s picture

As comment #21, I also experience the same issue. I am using the latest dev version. I controlled and it contains the patch on #7.

The issue is: When I save the node, the meta tags are appeared in the source code, but when I edit the node, I dont see the changed values but the default ones.

Sinan Erdem’s picture

Correcting my previous comment: It saves on the nodes, but it doesnt save on taxonomy terms. When I edit a taxonomy term and change the meta tags, I can see them on the source code but re-editing again shows the default values.

damienmckenna’s picture

@Sinan: Please try the latest dev version, the commit from #1845326: Metatags not loading correctly with beta4 fixes the problem.

Sinan Erdem’s picture

Hello Damien,

I tried the latest dev (March 3) and it works ok for me :)

Thanks for your efforts.