{"action":"opened","issue":{"url":"https://api.github.com/repos/NGO-DB/helgo_db/issues/49","labels_url":"https://api.github.com/repos/NGO-DB/helgo_db/issues/49/labels{/name}","comments_url":"https://api.github.com/repos/NGO-DB/helgo_db/issues/49/comments","events_url":"https://api.github.com/repos/NGO-DB/helgo_db/issues/49/events","html_url":"https://github.com/NGO-DB/helgo_db/issues/49","id":122739793,"number":49,"title":"Changing project number leads to inconsistent data","user":{"login":"sebastian-leidig","id":1682541,"avatar_url":"https://avatars.githubusercontent.com/u/1682541?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastian-leidig","html_url":"https://github.com/sebastian-leidig","followers_url":"https://api.github.com/users/sebastian-leidig/followers","following_url":"https://api.github.com/users/sebastian-leidig/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-leidig/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-leidig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-leidig/subscriptions","organizations_url":"https://api.github.com/users/sebastian-leidig/orgs","repos_url":"https://api.github.com/users/sebastian-leidig/repos","events_url":"https://api.github.com/users/sebastian-leidig/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-leidig/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NGO-DB/helgo_db/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"sebastian-leidig","id":1682541,"avatar_url":"https://avatars.githubusercontent.com/u/1682541?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastian-leidig","html_url":"https://github.com/sebastian-leidig","followers_url":"https://api.github.com/users/sebastian-leidig/followers","following_url":"https://api.github.com/users/sebastian-leidig/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-leidig/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-leidig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-leidig/subscriptions","organizations_url":"https://api.github.com/users/sebastian-leidig/orgs","repos_url":"https://api.github.com/users/sebastian-leidig/repos","events_url":"https://api.github.com/users/sebastian-leidig/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-leidig/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NGO-DB/helgo_db/milestones/4","html_url":"https://github.com/NGO-DB/helgo_db/milestones/v1.0.1","labels_url":"https://api.github.com/repos/NGO-DB/helgo_db/milestones/4/labels","id":1404546,"number":4,"title":"v1.0.1","description":"","creator":{"login":"sebastian-leidig","id":1682541,"avatar_url":"https://avatars.githubusercontent.com/u/1682541?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastian-leidig","html_url":"https://github.com/sebastian-leidig","followers_url":"https://api.github.com/users/sebastian-leidig/followers","following_url":"https://api.github.com/users/sebastian-leidig/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-leidig/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-leidig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-leidig/subscriptions","organizations_url":"https://api.github.com/users/sebastian-leidig/orgs","repos_url":"https://api.github.com/users/sebastian-leidig/repos","events_url":"https://api.github.com/users/sebastian-leidig/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-leidig/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":8,"state":"open","created_at":"2015-11-10T15:01:48Z","updated_at":"2015-12-17T13:59:00Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-12-17T13:59:00Z","updated_at":"2015-12-17T13:59:00Z","closed_at":null,"body":"The \"project number\" of a child (`child.pn`) is used as part of the `child._id` to identify a record in the database. When the user changes that field, the child's detail page can not be opened any more because the `child._id` is not updated the record is not found under the new `child.pn`. (Also linked data, like family members, may get lost).\r\n\r\n-> the \"project number\" must be final after creating the child"}}