Describe the bug
You can't update an intent without changing its name, else you get an error.
To Reproduce
Steps to reproduce the behavior:
Go to any intent that already exists
Add an utterance or remove one, do any update (other than changing the intent name)
Click "Update"
You get 400 Bad Request with the body of the response being "Intent name already used"
Expected behavior
If you don't change the name of the intent, please make sure you check OTHER intents to have the same name (don't take the one being updated into account)
Just saying this makes master absolutely broken. The only bypass I found is to rename the intent twice (once for the update, once for bringing it back where it was before).
Describe the bug You can't update an intent without changing its name, else you get an error.
To Reproduce Steps to reproduce the behavior:
Expected behavior If you don't change the name of the intent, please make sure you check OTHER intents to have the same name (don't take the one being updated into account)
Just saying this makes master absolutely broken. The only bypass I found is to rename the intent twice (once for the update, once for bringing it back where it was before).