Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error message when destination name already exists #3597

Merged
merged 4 commits into from
Mar 27, 2019

Conversation

gabrieldutra
Copy link
Member

What type of PR is this? (check all applicable)

  • Bug Fix

Description

It was returning 500 with no message ("Failed saving." in frontend). It was necessary to guess that the error was due to name duplicity.

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

destinations-name-key

@ghost ghost assigned gabrieldutra Mar 17, 2019
@ghost ghost added the in progress label Mar 17, 2019
redash/handlers/destinations.py Outdated Show resolved Hide resolved
redash/handlers/destinations.py Outdated Show resolved Hide resolved
arikfr and others added 2 commits March 25, 2019 13:30
Co-Authored-By: gabrieldutra <[email protected]>
Co-Authored-By: gabrieldutra <[email protected]>
@arikfr arikfr merged commit 375e61f into master Mar 27, 2019
@arikfr arikfr deleted the destination-name-key branch March 27, 2019 16:10
@arikfr
Copy link
Member

arikfr commented Mar 27, 2019

👍

harveyrendell pushed a commit to pushpay/redash that referenced this pull request Nov 14, 2019
* Return 400 when destination name already exists

* Remove whitespace

* Unicode 1

Co-Authored-By: gabrieldutra <[email protected]>

* Unicode 2

Co-Authored-By: gabrieldutra <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants