Skip to content

Add error message when destination name already exists#3597

Merged
arikfr merged 4 commits into
masterfrom
destination-name-key
Mar 27, 2019
Merged

Add error message when destination name already exists#3597
arikfr merged 4 commits into
masterfrom
destination-name-key

Conversation

@gabrieldutra

Copy link
Copy Markdown
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
Comment thread redash/handlers/destinations.py Outdated
Comment thread redash/handlers/destinations.py Outdated
Comment thread redash/handlers/destinations.py Outdated
arikfr and others added 2 commits March 25, 2019 13:30
Co-Authored-By: gabrieldutra <[email protected]>
Co-Authored-By: gabrieldutra <[email protected]>
@gabrieldutra
gabrieldutra requested a review from arikfr March 25, 2019 16:32
@arikfr
arikfr merged commit 375e61f into master Mar 27, 2019
@arikfr
arikfr deleted the destination-name-key branch March 27, 2019 16:10
@arikfr

arikfr commented Mar 27, 2019

Copy link
Copy Markdown
Member

👍

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