{"action":"created","issue":{"url":"https://api.github.com/repos/enonic/app-metafields/issues/27","repository_url":"https://api.github.com/repos/enonic/app-metafields","labels_url":"https://api.github.com/repos/enonic/app-metafields/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/enonic/app-metafields/issues/27/comments","events_url":"https://api.github.com/repos/enonic/app-metafields/issues/27/events","html_url":"https://github.com/enonic/app-metafields/issues/27","id":253903740,"number":27,"title":"SEO app makes page title [object Object]","user":{"login":"ComLock","id":118847,"avatar_url":"https://avatars2.githubusercontent.com/u/118847?v=4","gravatar_id":"","url":"https://api.github.com/users/ComLock","html_url":"https://github.com/ComLock","followers_url":"https://api.github.com/users/ComLock/followers","following_url":"https://api.github.com/users/ComLock/following{/other_user}","gists_url":"https://api.github.com/users/ComLock/gists{/gist_id}","starred_url":"https://api.github.com/users/ComLock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ComLock/subscriptions","organizations_url":"https://api.github.com/users/ComLock/orgs","repos_url":"https://api.github.com/users/ComLock/repos","events_url":"https://api.github.com/users/ComLock/events{/privacy}","received_events_url":"https://api.github.com/users/ComLock/received_events","type":"User","site_admin":false},"labels":[{"id":310257592,"url":"https://api.github.com/repos/enonic/app-metafields/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-30T07:29:14Z","updated_at":"2017-08-30T07:35:34Z","closed_at":null,"author_association":"MEMBER","body":"Our page controller has the following in thymeleaf for <head><title>:\r\n\r\n```\r\n<title data-th-if=\"${not decorator}\">Posten.no</title>\r\n<title data-th-if=\"${decorator}\">$title</title>\r\n```\r\n\r\nThe SEO configuration for the page is:\r\n```\r\n\"com-enonic-app-metafields\": {\r\n      \"meta-data\": {\r\n        \"seoDescription\": \"Når du er borte i en begrenset periode kan du få posten sendt til ditt midlertidige oppholdssted.\",\r\n        \"blockRobots\": false\r\n      }\r\n    }\r\n```\r\n\r\nWhen SEO app 1.3.2 is running view source on page gives (regardless of wether decorator is true or false):\r\n\r\n```\r\n<title>[object Object]</title>\r\n```\r\n\r\nStopping the seo app gives 500:\r\n```\r\ncom.enonic.xp.resource.ResourceNotFoundException: Resource [com.enonic.app.metafields:/site/filters/add-metadata.js] was not found (java.lang.RuntimeException)\r\n```\r\n\r\nUninstalling the SEO app gives title as programmed in the template.\r\n"},"comment":{"url":"https://api.github.com/repos/enonic/app-metafields/issues/comments/325908224","html_url":"https://github.com/enonic/app-metafields/issues/27#issuecomment-325908224","issue_url":"https://api.github.com/repos/enonic/app-metafields/issues/27","id":325908224,"user":{"login":"ComLock","id":118847,"avatar_url":"https://avatars2.githubusercontent.com/u/118847?v=4","gravatar_id":"","url":"https://api.github.com/users/ComLock","html_url":"https://github.com/ComLock","followers_url":"https://api.github.com/users/ComLock/followers","following_url":"https://api.github.com/users/ComLock/following{/other_user}","gists_url":"https://api.github.com/users/ComLock/gists{/gist_id}","starred_url":"https://api.github.com/users/ComLock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ComLock/subscriptions","organizations_url":"https://api.github.com/users/ComLock/orgs","repos_url":"https://api.github.com/users/ComLock/repos","events_url":"https://api.github.com/users/ComLock/events{/privacy}","received_events_url":"https://api.github.com/users/ComLock/received_events","type":"User","site_admin":false},"created_at":"2017-08-30T07:35:34Z","updated_at":"2017-08-30T07:35:34Z","author_association":"MEMBER","body":"In production we are using SEO-1.1.2 which doesn't have the same bug. However it also overrides title to the displayName of the page. Regardless of decorator = true or false"}}
{"actor":{"display_login":"ComLock"}}