{"action":"created","issue":{"url":"https://api.github.com/repos/SubPointSolutions/spmeta2/issues/705","labels_url":"https://api.github.com/repos/SubPointSolutions/spmeta2/issues/705/labels{/name}","comments_url":"https://api.github.com/repos/SubPointSolutions/spmeta2/issues/705/comments","events_url":"https://api.github.com/repos/SubPointSolutions/spmeta2/issues/705/events","html_url":"https://github.com/SubPointSolutions/spmeta2/issues/705","id":112629508,"number":705,"title":"SPException \"A duplicate field name \"[fieldname]\" was found\"","user":{"login":"bctw","id":14811246,"avatar_url":"https://avatars.githubusercontent.com/u/14811246?v=3","gravatar_id":"","url":"https://api.github.com/users/bctw","html_url":"https://github.com/bctw","followers_url":"https://api.github.com/users/bctw/followers","following_url":"https://api.github.com/users/bctw/following{/other_user}","gists_url":"https://api.github.com/users/bctw/gists{/gist_id}","starred_url":"https://api.github.com/users/bctw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bctw/subscriptions","organizations_url":"https://api.github.com/users/bctw/orgs","repos_url":"https://api.github.com/users/bctw/repos","events_url":"https://api.github.com/users/bctw/events{/privacy}","received_events_url":"https://api.github.com/users/bctw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SubPointSolutions/spmeta2/labels/community-feedback","name":"community-feedback","color":"fbca04"},{"url":"https://api.github.com/repos/SubPointSolutions/spmeta2/labels/m2-research","name":"m2-research","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"SubPointSupport","id":8142869,"avatar_url":"https://avatars.githubusercontent.com/u/8142869?v=3","gravatar_id":"","url":"https://api.github.com/users/SubPointSupport","html_url":"https://github.com/SubPointSupport","followers_url":"https://api.github.com/users/SubPointSupport/followers","following_url":"https://api.github.com/users/SubPointSupport/following{/other_user}","gists_url":"https://api.github.com/users/SubPointSupport/gists{/gist_id}","starred_url":"https://api.github.com/users/SubPointSupport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SubPointSupport/subscriptions","organizations_url":"https://api.github.com/users/SubPointSupport/orgs","repos_url":"https://api.github.com/users/SubPointSupport/repos","events_url":"https://api.github.com/users/SubPointSupport/events{/privacy}","received_events_url":"https://api.github.com/users/SubPointSupport/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/SubPointSolutions/spmeta2/milestones/54","html_url":"https://github.com/SubPointSolutions/spmeta2/milestones/hold","labels_url":"https://api.github.com/repos/SubPointSolutions/spmeta2/milestones/54/labels","id":1153569,"number":54,"title":"hold","description":"Contains partly implemented features due lack of API readiness. ","creator":{"login":"SubPointSupport","id":8142869,"avatar_url":"https://avatars.githubusercontent.com/u/8142869?v=3","gravatar_id":"","url":"https://api.github.com/users/SubPointSupport","html_url":"https://github.com/SubPointSupport","followers_url":"https://api.github.com/users/SubPointSupport/followers","following_url":"https://api.github.com/users/SubPointSupport/following{/other_user}","gists_url":"https://api.github.com/users/SubPointSupport/gists{/gist_id}","starred_url":"https://api.github.com/users/SubPointSupport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SubPointSupport/subscriptions","organizations_url":"https://api.github.com/users/SubPointSupport/orgs","repos_url":"https://api.github.com/users/SubPointSupport/repos","events_url":"https://api.github.com/users/SubPointSupport/events{/privacy}","received_events_url":"https://api.github.com/users/SubPointSupport/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":7,"state":"open","created_at":"2015-06-07T16:00:11Z","updated_at":"2015-10-22T22:01:49Z","due_on":"2016-12-30T13:00:00Z","closed_at":null},"comments":2,"created_at":"2015-10-21T16:33:51Z","updated_at":"2015-10-22T22:01:49Z","closed_at":"2015-10-22T22:01:49Z","body":"When adding, for example, a Site Column to a Site model, if the Column already exists, I'm getting a SPMeta2.Exceptions.SPMeta2ModelDeploymentException (with inner exception: {\"A duplicate field name \\\"fieldName\\\" was found.\"}).\r\n\r\nIs this the expected behavior?  If so, that means I can't add items to the model that already exist -- that means it's hard/impossible to add additional things.\r\n\r\n(For example, if I can't add a ListDefinition to a site model where the list already exists, then I can't add a new field to an *existing* list that I have already provisioned in the past.  Or am I missing something?)"},"comment":{"url":"https://api.github.com/repos/SubPointSolutions/spmeta2/issues/comments/150368475","html_url":"https://github.com/SubPointSolutions/spmeta2/issues/705#issuecomment-150368475","issue_url":"https://api.github.com/repos/SubPointSolutions/spmeta2/issues/705","id":150368475,"user":{"login":"SubPointSupport","id":8142869,"avatar_url":"https://avatars.githubusercontent.com/u/8142869?v=3","gravatar_id":"","url":"https://api.github.com/users/SubPointSupport","html_url":"https://github.com/SubPointSupport","followers_url":"https://api.github.com/users/SubPointSupport/followers","following_url":"https://api.github.com/users/SubPointSupport/following{/other_user}","gists_url":"https://api.github.com/users/SubPointSupport/gists{/gist_id}","starred_url":"https://api.github.com/users/SubPointSupport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SubPointSupport/subscriptions","organizations_url":"https://api.github.com/users/SubPointSupport/orgs","repos_url":"https://api.github.com/users/SubPointSupport/repos","events_url":"https://api.github.com/users/SubPointSupport/events{/privacy}","received_events_url":"https://api.github.com/users/SubPointSupport/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T22:01:49Z","updated_at":"2015-10-22T22:01:49Z","body":"Confirmed with the client, closing - https://www.yammer.com/spmeta2feedback/#/Threads/show?threadId=602843142\r\n\r\n```\r\nI determined that, at one point, two FieldDefinitions shared a duplicate Guid, causing a failed deployment which left the Web in an unexpected state. I believe this is responsible for the behavior I am seeing. Nevertheless, it would be good if M2 could fail more gracefully when such a field is encountered (or have an option to ignore such issues).\r\n```"}}