Closed (fixed)
Project:
Metatag
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Sep 2011 at 10:19 UTC
Updated:
30 Sep 2011 at 03:11 UTC
Jump to comment: Most recent file
This is very similar to #1263884: Avoid redirect field and form injection on entities that have a path but where this makes no sense (like comments).
When using a field_collection as provided by http://drupal.org/project/field_collection,
a vertical tabs is provided for each field_collection entity within the node.
That in itself is bad, but worse, when saving the node, the custom Meta tag data for the node is not saved.
If a fix similar to that provided for the redirect module could be found, that would be great.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1278794-i-dislike-field-collection-and-vertical-tabs.patch | 949 bytes | dave reid |
Comments
Comment #1
dave reidI would like to try and alternative approach where we check if there is actually a vertical tab element in $form. If this works for you I want to use the same approach in redirect as well.
Comment #2
dave reidComment #3
dave reidThe alternative is that we add 'metatags' => FALSE to field_collection_entity_info().
Comment #4
alanburke commentedLooks good to me.
Patch applies, vertical tabs only show the one needed for the node itself.
Dave Reid - you're something special.
Gentleman, genius, insomniac.
[And maybe you'll grow to love field_collection in the future too!]
Comment #5
dave reidCommitted #1 to Git.
http://drupalcode.org/project/metatags.git/commit/8f7fa2e