{"action":"created","issue":{"url":"https://api.github.com/repos/MarimerLLC/cslaforum/issues/580","repository_url":"https://api.github.com/repos/MarimerLLC/cslaforum","labels_url":"https://api.github.com/repos/MarimerLLC/cslaforum/issues/580/labels{/name}","comments_url":"https://api.github.com/repos/MarimerLLC/cslaforum/issues/580/comments","events_url":"https://api.github.com/repos/MarimerLLC/cslaforum/issues/580/events","html_url":"https://github.com/MarimerLLC/cslaforum/issues/580","id":332359006,"node_id":"MDU6SXNzdWUzMzIzNTkwMDY=","number":580,"title":"netstandard BeginEdit()","user":{"login":"tiitk","id":3668173,"node_id":"MDQ6VXNlcjM2NjgxNzM=","avatar_url":"https://avatars2.githubusercontent.com/u/3668173?v=4","gravatar_id":"","url":"https://api.github.com/users/tiitk","html_url":"https://github.com/tiitk","followers_url":"https://api.github.com/users/tiitk/followers","following_url":"https://api.github.com/users/tiitk/following{/other_user}","gists_url":"https://api.github.com/users/tiitk/gists{/gist_id}","starred_url":"https://api.github.com/users/tiitk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiitk/subscriptions","organizations_url":"https://api.github.com/users/tiitk/orgs","repos_url":"https://api.github.com/users/tiitk/repos","events_url":"https://api.github.com/users/tiitk/events{/privacy}","received_events_url":"https://api.github.com/users/tiitk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-14T11:19:27Z","updated_at":"2018-06-20T21:58:32Z","closed_at":null,"author_association":"NONE","body":"Hello\r\n\r\nUpgrading from 4.6 to 4.7 broke my application's beginedit.\r\nNow using netstandard, calling BeginEdit() on businessbase parent with businessbase child fails.\r\nOn UWP the error says \"Value cannot be null. Parameter name: format\" and on Android it says something that FieldInfo[] or something like this is not serializable.\r\nWhat to do ?\r\n\r\nCode to replicate is very simple:\r\n\r\n[Serializable]\r\n    public class Parent : BusinessBase<Parent>\r\n    {\r\n        public static readonly PropertyInfo<Child> ChildProperty = RegisterProperty<Child>(c => c.Child, RelationshipTypes.Child);\r\n        public Child Child\r\n        {\r\n            get { return GetProperty(ChildProperty); }\r\n            set { SetProperty(ChildProperty, value); }\r\n        }\r\n        \r\n\r\n        private void DataPortal_Fetch()\r\n        {\r\n            var ch = DataPortal.FetchChild<Child>();\r\n            LoadProperty<Child>(ChildProperty, ch);\r\n        }\r\n    }\r\n\r\n[Serializable]\r\n    public class Child : BusinessBase<Child>\r\n    {\r\n        private void Child_Fetch() { }\r\n    }\r\n\r\nand then call\r\nvar parent = DataPortal.Fetch<Parent>();\r\nparent.BeginEdit();\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MarimerLLC/cslaforum/issues/comments/398911154","html_url":"https://github.com/MarimerLLC/cslaforum/issues/580#issuecomment-398911154","issue_url":"https://api.github.com/repos/MarimerLLC/cslaforum/issues/580","id":398911154,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODkxMTE1NA==","user":{"login":"rockfordlhotka","id":2333134,"node_id":"MDQ6VXNlcjIzMzMxMzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/2333134?v=4","gravatar_id":"","url":"https://api.github.com/users/rockfordlhotka","html_url":"https://github.com/rockfordlhotka","followers_url":"https://api.github.com/users/rockfordlhotka/followers","following_url":"https://api.github.com/users/rockfordlhotka/following{/other_user}","gists_url":"https://api.github.com/users/rockfordlhotka/gists{/gist_id}","starred_url":"https://api.github.com/users/rockfordlhotka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockfordlhotka/subscriptions","organizations_url":"https://api.github.com/users/rockfordlhotka/orgs","repos_url":"https://api.github.com/users/rockfordlhotka/repos","events_url":"https://api.github.com/users/rockfordlhotka/events{/privacy}","received_events_url":"https://api.github.com/users/rockfordlhotka/received_events","type":"User","site_admin":false},"created_at":"2018-06-20T21:58:32Z","updated_at":"2018-06-20T21:58:32Z","author_association":"MEMBER","body":"I have a possible fix in this PR - at least your test app now runs 😄 \r\nhttps://github.com/MarimerLLC/csla/pull/899"}}
{"actor":{"display_login":"rockfordlhotka"}}