{"action":"created","issue":{"url":"https://api.github.com/repos/mattbrailsford/umbraco-vorto/issues/31","labels_url":"https://api.github.com/repos/mattbrailsford/umbraco-vorto/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/mattbrailsford/umbraco-vorto/issues/31/comments","events_url":"https://api.github.com/repos/mattbrailsford/umbraco-vorto/issues/31/events","html_url":"https://github.com/mattbrailsford/umbraco-vorto/issues/31","id":119267407,"number":31,"title":"Issue converting guid","user":{"login":"JimBobSquarePants","id":385879,"avatar_url":"https://avatars.githubusercontent.com/u/385879?v=3","gravatar_id":"","url":"https://api.github.com/users/JimBobSquarePants","html_url":"https://github.com/JimBobSquarePants","followers_url":"https://api.github.com/users/JimBobSquarePants/followers","following_url":"https://api.github.com/users/JimBobSquarePants/following{/other_user}","gists_url":"https://api.github.com/users/JimBobSquarePants/gists{/gist_id}","starred_url":"https://api.github.com/users/JimBobSquarePants/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JimBobSquarePants/subscriptions","organizations_url":"https://api.github.com/users/JimBobSquarePants/orgs","repos_url":"https://api.github.com/users/JimBobSquarePants/repos","events_url":"https://api.github.com/users/JimBobSquarePants/events{/privacy}","received_events_url":"https://api.github.com/users/JimBobSquarePants/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mattbrailsford/umbraco-vorto/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/mattbrailsford/umbraco-vorto/milestones/1","html_url":"https://github.com/mattbrailsford/umbraco-vorto/milestones/1.5","labels_url":"https://api.github.com/repos/mattbrailsford/umbraco-vorto/milestones/1/labels","id":1433800,"number":1,"title":"1.5","description":"","creator":{"login":"mattbrailsford","id":527305,"avatar_url":"https://avatars.githubusercontent.com/u/527305?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbrailsford","html_url":"https://github.com/mattbrailsford","followers_url":"https://api.github.com/users/mattbrailsford/followers","following_url":"https://api.github.com/users/mattbrailsford/following{/other_user}","gists_url":"https://api.github.com/users/mattbrailsford/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbrailsford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbrailsford/subscriptions","organizations_url":"https://api.github.com/users/mattbrailsford/orgs","repos_url":"https://api.github.com/users/mattbrailsford/repos","events_url":"https://api.github.com/users/mattbrailsford/events{/privacy}","received_events_url":"https://api.github.com/users/mattbrailsford/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":9,"state":"open","created_at":"2015-11-29T10:31:33Z","updated_at":"2015-11-29T14:16:33Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2015-11-28T03:03:12Z","updated_at":"2015-12-21T07:54:50Z","closed_at":"2015-11-28T18:14:53Z","body":"Hey chum,\r\n\r\nWe're getting error logs shown in our install. Which is **Vorto for Umbraco 1.4.0** on **Umbraco 7.3.1**\r\n\r\n``` xml\r\nOur.Umbraco.Vorto.Converters.VortoValueConverter - Error converting Vorto value\r\nNewtonsoft.Json.JsonSerializationException: Error converting value 0 to type 'System.Guid'. Path 'dtdguid', line 5, position 15. ---> System.ArgumentException: Could not cast or convert from System.Int64 to System.Guid.\r\n   at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value, Type initialType, Type targetType)\r\n   at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue, CultureInfo culture, Type targetType)\r\n   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReader reader, Object value, CultureInfo culture, JsonContract contract, Type targetType)\r\n```\r\n\r\nThis is getting thrown here:\r\nhttps://github.com/mattbrailsford/Vorto/blob/938c9e6a8c1c1f74819726eef9a6948a3ec85b06/Src/Our.Umbraco.Vorto/Converters/VortoValueConverter.cs#L32\r\n\r\nNow I have noticed that the default value in your JavaScript is not a valid guid but I don't know what would cause that property to not be populated. Any idea?\r\nhttps://github.com/mattbrailsford/Vorto/blob/938c9e6a8c1c1f74819726eef9a6948a3ec85b06/Src/Our.Umbraco.Vorto/Web/UI/App_Plugins/Vorto/js/vorto.js#L31"},"comment":{"url":"https://api.github.com/repos/mattbrailsford/umbraco-vorto/issues/comments/166227249","html_url":"https://github.com/mattbrailsford/umbraco-vorto/issues/31#issuecomment-166227249","issue_url":"https://api.github.com/repos/mattbrailsford/umbraco-vorto/issues/31","id":166227249,"user":{"login":"mattbrailsford","id":527305,"avatar_url":"https://avatars.githubusercontent.com/u/527305?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbrailsford","html_url":"https://github.com/mattbrailsford","followers_url":"https://api.github.com/users/mattbrailsford/followers","following_url":"https://api.github.com/users/mattbrailsford/following{/other_user}","gists_url":"https://api.github.com/users/mattbrailsford/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbrailsford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbrailsford/subscriptions","organizations_url":"https://api.github.com/users/mattbrailsford/orgs","repos_url":"https://api.github.com/users/mattbrailsford/repos","events_url":"https://api.github.com/users/mattbrailsford/events{/privacy}","received_events_url":"https://api.github.com/users/mattbrailsford/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T07:54:50Z","updated_at":"2015-12-21T07:54:50Z","body":"No worries,\r\n\r\nAre you using anything that might affect this? such as courier or usync? Or are you doing anything similar to what @kgiszewski reported? (moving databases). I wonder if you are able to get a DB dump of a property value that is erroring? (ie, before re-saving and fixing it). I'm not quite sure what would cause the guid value to be empty, so just trying to see if something could be interfering.\r\n\r\nCheers\r\n\r\nMatt"}}