Closed yorkshire-pudding closed 1 year ago
Looks like the view
token group isn't getting added to the token contexts. I'm working on fixing this issue.
A lot of the Views integration seems to be broken. Not only do the tokens not work, but the metatags section of the view configuration doesn't seem to show up. I've fixed both issues and gotten the Metatag: Views
tests passing in this PR: https://github.com/backdrop-contrib/metatag/pull/104
I went ahead and merged https://github.com/backdrop-contrib/metatag/pull/104 so we can get out a new release in which Metatag: Views
actually works.
Steps to reproduce
Expected results (A) Title Description and Canonical URL tags are present in header (B) Config saves and returns to metatag overview (C) View section is present in token browser
Actual results (A) Title and URL are generated as these are in global but description is not (B) Config gives validation errors and won't save:
Error messages
``` The Page title is using the following invalid tokens: [view:title]. The Description is using the following invalid tokens: [view:description]. The Canonical URL is using the following invalid tokens: [view:url]. ```(C) View section is not present in token browser![image](https://user-images.githubusercontent.com/20357797/190722177-ee1dfd3f-6ef8-47a3-8be4-0cfed204e9e6.png)