{"action":"created","issue":{"url":"https://api.github.com/repos/voyages-sncf-technologies/tock/issues/223","repository_url":"https://api.github.com/repos/voyages-sncf-technologies/tock","labels_url":"https://api.github.com/repos/voyages-sncf-technologies/tock/issues/223/labels{/name}","comments_url":"https://api.github.com/repos/voyages-sncf-technologies/tock/issues/223/comments","events_url":"https://api.github.com/repos/voyages-sncf-technologies/tock/issues/223/events","html_url":"https://github.com/voyages-sncf-technologies/tock/issues/223","id":307694681,"number":223,"title":"can't create two intents with the same name in different NLP applications","user":{"login":"Bybeez","id":18186027,"avatar_url":"https://avatars0.githubusercontent.com/u/18186027?v=4","gravatar_id":"","url":"https://api.github.com/users/Bybeez","html_url":"https://github.com/Bybeez","followers_url":"https://api.github.com/users/Bybeez/followers","following_url":"https://api.github.com/users/Bybeez/following{/other_user}","gists_url":"https://api.github.com/users/Bybeez/gists{/gist_id}","starred_url":"https://api.github.com/users/Bybeez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bybeez/subscriptions","organizations_url":"https://api.github.com/users/Bybeez/orgs","repos_url":"https://api.github.com/users/Bybeez/repos","events_url":"https://api.github.com/users/Bybeez/events{/privacy}","received_events_url":"https://api.github.com/users/Bybeez/received_events","type":"User","site_admin":false},"labels":[{"id":557572882,"url":"https://api.github.com/repos/voyages-sncf-technologies/tock/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-22T15:30:52Z","updated_at":"2018-03-30T15:12:26Z","closed_at":null,"author_association":"NONE","body":"### Steps to reproduce\r\n1.Start the NLP stack with docker\r\n2.Login and create a new NLP application from the \"configuration\" tab\r\n3.Create a new Intent\r\n4.Create a second NLP application\r\n5.Create a new intent with the same name a the first one in the new application\r\n\r\nIt should create an intent with the name entered but instead it doesn't create it and display an error saying \"Intent YOUR_INTENT_NAME already exists\"\r\n\r\nI'm using the compose file from the open-data-bot example with the latest tag"},"comment":{"url":"https://api.github.com/repos/voyages-sncf-technologies/tock/issues/comments/377546352","html_url":"https://github.com/voyages-sncf-technologies/tock/issues/223#issuecomment-377546352","issue_url":"https://api.github.com/repos/voyages-sncf-technologies/tock/issues/223","id":377546352,"user":{"login":"vsct-jburet","id":12413454,"avatar_url":"https://avatars0.githubusercontent.com/u/12413454?v=4","gravatar_id":"","url":"https://api.github.com/users/vsct-jburet","html_url":"https://github.com/vsct-jburet","followers_url":"https://api.github.com/users/vsct-jburet/followers","following_url":"https://api.github.com/users/vsct-jburet/following{/other_user}","gists_url":"https://api.github.com/users/vsct-jburet/gists{/gist_id}","starred_url":"https://api.github.com/users/vsct-jburet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vsct-jburet/subscriptions","organizations_url":"https://api.github.com/users/vsct-jburet/orgs","repos_url":"https://api.github.com/users/vsct-jburet/repos","events_url":"https://api.github.com/users/vsct-jburet/events{/privacy}","received_events_url":"https://api.github.com/users/vsct-jburet/received_events","type":"User","site_admin":false},"created_at":"2018-03-30T15:12:26Z","updated_at":"2018-03-30T15:12:26Z","author_association":"MEMBER","body":"We have decided to keep the \"share intent\" facility - they are shared in a given namespace (ie an account), so you still can have two different intents with same name in two different namespaces.\r\n\r\nI will commit soon the changes that allow intent reuse for the same namespace in the admin interface"}}
{"actor":{"display_login":"vsct-jburet"}}