Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2012 at 15:42 UTC
Updated:
4 Feb 2013 at 22:40 UTC
Jump to comment: Most recent file
Goto the "Meta tags » Defaults » Views" admin page:
/admin/config/search/metatags/config/views
These errors appear after clicking "Save":
Temporary fix - to patch metatag.module, attached.
Need review, need better solution, e.g. move "token types" option to the configuration in the hook_metatag_config_instance_info().
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | allow_view_tokens.patch | 656 bytes | Dasha_V - old |
| allow_view_tokens.patch | 1.77 KB | Dasha_V - old |
Comments
Comment #1
Dasha_V - old commentedComment #2
Dasha_V - old commentedNew patch with fixes after additional testing other metatags pages
Comment #3
dave reidI think actually #1894880: token_get_entity_mapping() should fallback to the entity type if token type not found is a better solution to fix this in Token module.
Comment #4
dave reidAlso we should rename the context from 'views' to 'view'. The context should match the same syntax as the other entity types, which are not plural.
Comment #5
dave reidRenamed context from 'views' to 'view'.
Comment #6
dave reidMoving to the meta tags issue queue to fix metatag.admin.inc.
Comment #7
dave reidFixed in 7.x-1.x with http://drupalcode.org/project/metatag.git/commit/a19db4b and will be included in the next Meta tag release.