{"action":"opened","issue":{"url":"https://api.github.com/repos/OpenTechStrategies/swoptact/issues/173","labels_url":"https://api.github.com/repos/OpenTechStrategies/swoptact/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/OpenTechStrategies/swoptact/issues/173/comments","events_url":"https://api.github.com/repos/OpenTechStrategies/swoptact/issues/173/events","html_url":"https://github.com/OpenTechStrategies/swoptact/issues/173","id":101675739,"number":173,"title":"multiple rows can refer to same entity","user":{"login":"nttaylor","id":12848962,"avatar_url":"https://avatars.githubusercontent.com/u/12848962?v=3","gravatar_id":"","url":"https://api.github.com/users/nttaylor","html_url":"https://github.com/nttaylor","followers_url":"https://api.github.com/users/nttaylor/followers","following_url":"https://api.github.com/users/nttaylor/following{/other_user}","gists_url":"https://api.github.com/users/nttaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/nttaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nttaylor/subscriptions","organizations_url":"https://api.github.com/users/nttaylor/orgs","repos_url":"https://api.github.com/users/nttaylor/repos","events_url":"https://api.github.com/users/nttaylor/events{/privacy}","received_events_url":"https://api.github.com/users/nttaylor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-18T14:55:13Z","updated_at":"2015-08-18T14:55:13Z","closed_at":null,"body":"In dynamic tables on the change form, if the user clicks \"add new\" and uses autocomplete to select an entity (person) who is already represented in the table, a new row will be created referring to that entity, meaning that the entity will be referenced in the table two (or more times). We need a way to warn the user that this is happening.\r\n\r\nRelatedly, we need a way to warn the user if he/she types in the name of an entity that is a duplicate of a name already in the database (but does not use autocomplete). The name might represent the same entity or a different entity who happens to have the same name. Either way we need to make the situation clear to the user."}}