{"action":"created","issue":{"url":"https://api.github.com/repos/pluginsGLPI/genericobject/issues/16","repository_url":"https://api.github.com/repos/pluginsGLPI/genericobject","labels_url":"https://api.github.com/repos/pluginsGLPI/genericobject/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/pluginsGLPI/genericobject/issues/16/comments","events_url":"https://api.github.com/repos/pluginsGLPI/genericobject/issues/16/events","html_url":"https://github.com/pluginsGLPI/genericobject/issues/16","id":76785542,"number":16,"title":"Pb with Fields unicity","user":{"login":"blerohellec","id":9383475,"avatar_url":"https://avatars2.githubusercontent.com/u/9383475?v=3","gravatar_id":"","url":"https://api.github.com/users/blerohellec","html_url":"https://github.com/blerohellec","followers_url":"https://api.github.com/users/blerohellec/followers","following_url":"https://api.github.com/users/blerohellec/following{/other_user}","gists_url":"https://api.github.com/users/blerohellec/gists{/gist_id}","starred_url":"https://api.github.com/users/blerohellec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blerohellec/subscriptions","organizations_url":"https://api.github.com/users/blerohellec/orgs","repos_url":"https://api.github.com/users/blerohellec/repos","events_url":"https://api.github.com/users/blerohellec/events{/privacy}","received_events_url":"https://api.github.com/users/blerohellec/received_events","type":"User","site_admin":false},"labels":[{"id":97543490,"url":"https://api.github.com/repos/pluginsGLPI/genericobject/labels/bug","name":"bug","color":"fc2929","default":true},{"id":97543493,"url":"https://api.github.com/repos/pluginsGLPI/genericobject/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":{"login":"btry","id":14139801,"avatar_url":"https://avatars1.githubusercontent.com/u/14139801?v=3","gravatar_id":"","url":"https://api.github.com/users/btry","html_url":"https://github.com/btry","followers_url":"https://api.github.com/users/btry/followers","following_url":"https://api.github.com/users/btry/following{/other_user}","gists_url":"https://api.github.com/users/btry/gists{/gist_id}","starred_url":"https://api.github.com/users/btry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btry/subscriptions","organizations_url":"https://api.github.com/users/btry/orgs","repos_url":"https://api.github.com/users/btry/repos","events_url":"https://api.github.com/users/btry/events{/privacy}","received_events_url":"https://api.github.com/users/btry/received_events","type":"User","site_admin":false},"assignees":[{"login":"btry","id":14139801,"avatar_url":"https://avatars1.githubusercontent.com/u/14139801?v=3","gravatar_id":"","url":"https://api.github.com/users/btry","html_url":"https://github.com/btry","followers_url":"https://api.github.com/users/btry/followers","following_url":"https://api.github.com/users/btry/following{/other_user}","gists_url":"https://api.github.com/users/btry/gists{/gist_id}","starred_url":"https://api.github.com/users/btry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btry/subscriptions","organizations_url":"https://api.github.com/users/btry/orgs","repos_url":"https://api.github.com/users/btry/repos","events_url":"https://api.github.com/users/btry/events{/privacy}","received_events_url":"https://api.github.com/users/btry/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/pluginsGLPI/genericobject/milestones/4","html_url":"https://github.com/pluginsGLPI/genericobject/milestone/4","labels_url":"https://api.github.com/repos/pluginsGLPI/genericobject/milestones/4/labels","id":2003299,"number":4,"title":"0.85-1.2","description":null,"creator":{"login":"trasher","id":224733,"avatar_url":"https://avatars1.githubusercontent.com/u/224733?v=3","gravatar_id":"","url":"https://api.github.com/users/trasher","html_url":"https://github.com/trasher","followers_url":"https://api.github.com/users/trasher/followers","following_url":"https://api.github.com/users/trasher/following{/other_user}","gists_url":"https://api.github.com/users/trasher/gists{/gist_id}","starred_url":"https://api.github.com/users/trasher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trasher/subscriptions","organizations_url":"https://api.github.com/users/trasher/orgs","repos_url":"https://api.github.com/users/trasher/repos","events_url":"https://api.github.com/users/trasher/events{/privacy}","received_events_url":"https://api.github.com/users/trasher/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2016-09-14T06:59:35Z","updated_at":"2017-03-20T10:33:47Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-05-15T16:49:14Z","updated_at":"2017-03-20T10:33:47Z","closed_at":"2017-03-20T10:33:47Z","body":"If a generic object can use 'Fields unicity', one can create a fields unicity check (Setup > Checks).\nLet's say that the generic object has only the 6 fields by default + Domain.\nThen in the fields unicity check definition, Domain is displayed TWICE in the list of unique fields. Indeed, Domain is displayed in place of Name.\nSave with the 1st occurence of Domain -> name is saved in table glpi_fieldunicities, column fields.\nSave with the 2nd occurence of Domain -> domain is saved in db.\n\nSame pb with Manufacturer\n"},"comment":{"url":"https://api.github.com/repos/pluginsGLPI/genericobject/issues/comments/287723425","html_url":"https://github.com/pluginsGLPI/genericobject/issues/16#issuecomment-287723425","issue_url":"https://api.github.com/repos/pluginsGLPI/genericobject/issues/16","id":287723425,"user":{"login":"trasher","id":224733,"avatar_url":"https://avatars1.githubusercontent.com/u/224733?v=3","gravatar_id":"","url":"https://api.github.com/users/trasher","html_url":"https://github.com/trasher","followers_url":"https://api.github.com/users/trasher/followers","following_url":"https://api.github.com/users/trasher/following{/other_user}","gists_url":"https://api.github.com/users/trasher/gists{/gist_id}","starred_url":"https://api.github.com/users/trasher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trasher/subscriptions","organizations_url":"https://api.github.com/users/trasher/orgs","repos_url":"https://api.github.com/users/trasher/repos","events_url":"https://api.github.com/users/trasher/events{/privacy}","received_events_url":"https://api.github.com/users/trasher/received_events","type":"User","site_admin":false},"created_at":"2017-03-20T10:33:47Z","updated_at":"2017-03-20T10:33:47Z","body":"Fixed from #111 "}}
{"actor":{"display_login":"trasher"}}