{"action":"closed","issue":{"url":"https://api.github.com/repos/strongloop/loopback-workspace/issues/302","repository_url":"https://api.github.com/repos/strongloop/loopback-workspace","labels_url":"https://api.github.com/repos/strongloop/loopback-workspace/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback-workspace/issues/302/comments","events_url":"https://api.github.com/repos/strongloop/loopback-workspace/issues/302/events","html_url":"https://github.com/strongloop/loopback-workspace/issues/302","id":165899343,"number":302,"title":"Calling Workspace.createFromTemplate via JS api 2 times results in dup-model error","user":{"login":"kraman","id":449065,"avatar_url":"https://avatars.githubusercontent.com/u/449065?v=3","gravatar_id":"","url":"https://api.github.com/users/kraman","html_url":"https://github.com/kraman","followers_url":"https://api.github.com/users/kraman/followers","following_url":"https://api.github.com/users/kraman/following{/other_user}","gists_url":"https://api.github.com/users/kraman/gists{/gist_id}","starred_url":"https://api.github.com/users/kraman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kraman/subscriptions","organizations_url":"https://api.github.com/users/kraman/orgs","repos_url":"https://api.github.com/users/kraman/repos","events_url":"https://api.github.com/users/kraman/events{/privacy}","received_events_url":"https://api.github.com/users/kraman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback-workspace/labels/API%20Connect","name":"API Connect","color":"eeeeee"},{"url":"https://api.github.com/repos/strongloop/loopback-workspace/labels/bug","name":"bug","color":"e11d21"},{"url":"https://api.github.com/repos/strongloop/loopback-workspace/labels/major","name":"major","color":"eb6420"}],"state":"closed","locked":false,"assignee":{"login":"0candy","id":14314570,"avatar_url":"https://avatars.githubusercontent.com/u/14314570?v=3","gravatar_id":"","url":"https://api.github.com/users/0candy","html_url":"https://github.com/0candy","followers_url":"https://api.github.com/users/0candy/followers","following_url":"https://api.github.com/users/0candy/following{/other_user}","gists_url":"https://api.github.com/users/0candy/gists{/gist_id}","starred_url":"https://api.github.com/users/0candy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0candy/subscriptions","organizations_url":"https://api.github.com/users/0candy/orgs","repos_url":"https://api.github.com/users/0candy/repos","events_url":"https://api.github.com/users/0candy/events{/privacy}","received_events_url":"https://api.github.com/users/0candy/received_events","type":"User","site_admin":false},"assignees":[{"login":"0candy","id":14314570,"avatar_url":"https://avatars.githubusercontent.com/u/14314570?v=3","gravatar_id":"","url":"https://api.github.com/users/0candy","html_url":"https://github.com/0candy","followers_url":"https://api.github.com/users/0candy/followers","following_url":"https://api.github.com/users/0candy/following{/other_user}","gists_url":"https://api.github.com/users/0candy/gists{/gist_id}","starred_url":"https://api.github.com/users/0candy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0candy/subscriptions","organizations_url":"https://api.github.com/users/0candy/orgs","repos_url":"https://api.github.com/users/0candy/repos","events_url":"https://api.github.com/users/0candy/events{/privacy}","received_events_url":"https://api.github.com/users/0candy/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-07-16T00:31:21Z","updated_at":"2016-07-19T20:21:14Z","closed_at":"2016-07-19T20:21:14Z","body":"When calling https://github.com/strongloop/loopback-workspace/blob/master/common/models/workspace.js#L363 with the notes template via JS API,\r\nit seems like some model information is being cached. We get an error \r\n\r\n`The 'ModelConfig' instance is not valid. 'name' is not unique (value: \"User\").`"}}
{"actor":{"display_login":"0candy"}}