You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/11/27 00:24:50 UTC

[GitHub] [incubator-superset] etr2460 opened a new issue #8668: Superset returns an internal server error when there are duplicated calculated column names

etr2460 opened a new issue #8668: Superset returns an internal server error when there are duplicated calculated column names
URL: https://github.com/apache/incubator-superset/issues/8668
 
 
   Superset returns an internal server error when there are duplicated calculated column names
   
   ### Expected results
   
   No 5xx
   
   ### Actual results
   
   5xx
   
   #### Screenshots
   
   ![image](https://user-images.githubusercontent.com/7409244/69683280-22391c00-1069-11ea-9331-11bad441b29a.png)
   
   #### How to reproduce the bug
   
   While recently creating a new set of calculated columns I forgot to change the name from the default of <new column> for all the fields. While attempting to save this, I wound up getting an internal server error on the front end which mapped to a "Duplicate entry '<new column>-77284' for key 'uq_table_columns_column_name'" internally.
   
   It would be nice if that exception was caught or a specific error message surfaced so that people knew what they did wrong.
   
   ### Environment
   
   - superset version: `master`
   - python version: `3.6`
   - node.js version: `8.6`
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org