{"action":"created","issue":{"url":"https://api.github.com/repos/satyan/sugar/issues/392","labels_url":"https://api.github.com/repos/satyan/sugar/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/satyan/sugar/issues/392/comments","events_url":"https://api.github.com/repos/satyan/sugar/issues/392/events","html_url":"https://github.com/satyan/sugar/issues/392","id":109129391,"number":392,"title":"One to One Relationships not updating","user":{"login":"andrespalma2","id":13841892,"avatar_url":"https://avatars.githubusercontent.com/u/13841892?v=3","gravatar_id":"","url":"https://api.github.com/users/andrespalma2","html_url":"https://github.com/andrespalma2","followers_url":"https://api.github.com/users/andrespalma2/followers","following_url":"https://api.github.com/users/andrespalma2/following{/other_user}","gists_url":"https://api.github.com/users/andrespalma2/gists{/gist_id}","starred_url":"https://api.github.com/users/andrespalma2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrespalma2/subscriptions","organizations_url":"https://api.github.com/users/andrespalma2/orgs","repos_url":"https://api.github.com/users/andrespalma2/repos","events_url":"https://api.github.com/users/andrespalma2/events{/privacy}","received_events_url":"https://api.github.com/users/andrespalma2/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-30T16:24:22Z","updated_at":"2015-10-25T18:29:47Z","closed_at":"2015-10-13T12:32:58Z","body":"Hi! \r\nI have the following class \r\n\r\npublic class Project extends SugarRecord<Project> implements Serializable{\r\n    String projectName;\r\n    Client client;\r\n    String description;\r\n    Category category;\r\n}\r\n where both Client and Category extends SugarRecord.\r\n\r\nIf i want to update a Project, whats the right way to do so?\r\nAfter I get a reference to the project I want to update and modifie all the fields, the only ones that are getting updated in the database are \"description\" and \"project Name\", whereas \"client\" and \"category\" remains unaltered.\r\nDoes Sugar ORM updates the references to other objects on the database?\r\n\r\nThanks!!\r\n\r\nAlmost Forgot! Im using sugar 1.3.1"},"comment":{"url":"https://api.github.com/repos/satyan/sugar/issues/comments/150951922","html_url":"https://github.com/satyan/sugar/issues/392#issuecomment-150951922","issue_url":"https://api.github.com/repos/satyan/sugar/issues/392","id":150951922,"user":{"login":"sureshjoshi","id":3823045,"avatar_url":"https://avatars.githubusercontent.com/u/3823045?v=3","gravatar_id":"","url":"https://api.github.com/users/sureshjoshi","html_url":"https://github.com/sureshjoshi","followers_url":"https://api.github.com/users/sureshjoshi/followers","following_url":"https://api.github.com/users/sureshjoshi/following{/other_user}","gists_url":"https://api.github.com/users/sureshjoshi/gists{/gist_id}","starred_url":"https://api.github.com/users/sureshjoshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sureshjoshi/subscriptions","organizations_url":"https://api.github.com/users/sureshjoshi/orgs","repos_url":"https://api.github.com/users/sureshjoshi/repos","events_url":"https://api.github.com/users/sureshjoshi/events{/privacy}","received_events_url":"https://api.github.com/users/sureshjoshi/received_events","type":"User","site_admin":false},"created_at":"2015-10-25T18:29:47Z","updated_at":"2015-10-25T18:29:47Z","body":"@andrespalma2 Did you ever solve this?"}}