To reproduce:
1. browse to en/admin/config/search/metatags/config/global
2. advance -> robots
check:
Allow search engines to index this page (assumed).
Allow search engines to follow links on this page (assumed).
(attached screen shot)
3. browsing to add any content type
on some custom module implement
hook_node_insert($node)

print "

";
   print_r($node);
   print "

";

than see the metatags printed

[metatags] => Array
(
[en] => Array
(
)

)

it's empty although both of the allows mentioned above are checked at the created content type.

CommentFileSizeAuthor
robots.png13.12 KBfxsman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Component: Integration with other module » Other tags
Priority: Critical » Normal
Status: Active » Closed (works as designed)
Issue tags: -Exporting robots with default values

Can you please update the description to clarify what the problem is? Are you saying that the 'robots' values configured in a global setting are not stored in the node object? That's on purpose - the module doesn't store default values on each entity, only overridden values, and the global defaults are combined with the overridden values during output.