{"action":"created","issue":{"url":"https://api.github.com/repos/OfficeDev/PnP-Sites-Core/issues/154","labels_url":"https://api.github.com/repos/OfficeDev/PnP-Sites-Core/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/OfficeDev/PnP-Sites-Core/issues/154/comments","events_url":"https://api.github.com/repos/OfficeDev/PnP-Sites-Core/issues/154/events","html_url":"https://github.com/OfficeDev/PnP-Sites-Core/issues/154","id":114822437,"number":154,"title":"Support for default pagelayout setting with value \"__inherit\"","user":{"login":"cveld","id":6196260,"avatar_url":"https://avatars.githubusercontent.com/u/6196260?v=3","gravatar_id":"","url":"https://api.github.com/users/cveld","html_url":"https://github.com/cveld","followers_url":"https://api.github.com/users/cveld/followers","following_url":"https://api.github.com/users/cveld/following{/other_user}","gists_url":"https://api.github.com/users/cveld/gists{/gist_id}","starred_url":"https://api.github.com/users/cveld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cveld/subscriptions","organizations_url":"https://api.github.com/users/cveld/orgs","repos_url":"https://api.github.com/users/cveld/repos","events_url":"https://api.github.com/users/cveld/events{/privacy}","received_events_url":"https://api.github.com/users/cveld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-03T14:00:54Z","updated_at":"2015-11-04T09:51:29Z","closed_at":null,"body":"When trying to export a subsite with `GetProvisioningTemplate`, this results in an exception `XmlException: Data at root level is invalid`.\r\n```csharp\r\nvar defaultLayoutXml = web.GetPropertyBagValueString(DEFAULTPAGELAYOUT, null);\r\n```\r\n results in the value `__inherit`.\r\nAnd then \r\n```csharp\r\ndefaultPageLayoutUrl = XElement.Parse(defaultLayoutXml).Attribute(\"url\").Value;\r\n```\r\nresults in this exception.\r\n\r\nUsing assembly version `1.7.1015.1` of OfficeDevPnp.Core and SharePoint Server 2013 version `15.0.4753.1000`."},"comment":{"url":"https://api.github.com/repos/OfficeDev/PnP-Sites-Core/issues/comments/153663901","html_url":"https://github.com/OfficeDev/PnP-Sites-Core/issues/154#issuecomment-153663901","issue_url":"https://api.github.com/repos/OfficeDev/PnP-Sites-Core/issues/154","id":153663901,"user":{"login":"SchauDK","id":13271356,"avatar_url":"https://avatars.githubusercontent.com/u/13271356?v=3","gravatar_id":"","url":"https://api.github.com/users/SchauDK","html_url":"https://github.com/SchauDK","followers_url":"https://api.github.com/users/SchauDK/followers","following_url":"https://api.github.com/users/SchauDK/following{/other_user}","gists_url":"https://api.github.com/users/SchauDK/gists{/gist_id}","starred_url":"https://api.github.com/users/SchauDK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SchauDK/subscriptions","organizations_url":"https://api.github.com/users/SchauDK/orgs","repos_url":"https://api.github.com/users/SchauDK/repos","events_url":"https://api.github.com/users/SchauDK/events{/privacy}","received_events_url":"https://api.github.com/users/SchauDK/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T09:51:29Z","updated_at":"2015-11-04T09:51:29Z","body":"This is fixed in following commit https://github.com/OfficeDev/PnP-Sites-Core/commit/81a096f302c794a5547f434d82f5be9109c98bcd#diff-104ff854a76b73f401394122bb765e5d\r\n"}}