zuzana-vej opened a new issue #11379:
URL: https://github.com/apache/incubator-superset/issues/11379


   Pasting text into Metrics fails and deletes other metrics. This feature is 
commonly used if metrics are long - user finds them in documentation / from a 
colleague (via slack) / from previous chart - instead of typing the metric name 
user wants to paste it. This functionality worked at some point in the past.
   
   ### Expected results
   
   Existing metric remain, and newly pasted metric (if exists) also is in the 
Metrics field.
   
   ### Actual results
   
   Existing metrics disappear. 
   
   #### Screenshots
   Step 1: There is some metric in the METRICS field.
   <img width="485" alt="Screen Shot 2020-10-21 at 6 08 15 PM" 
src="https://user-images.githubusercontent.com/61221714/96806417-def64300-13c8-11eb-8fd2-4db017471a27.png";>
   
   
   Step 2: try to paste new metric, like "test_metric"
   
   Step 3: All metrics disappear. Regardless of if metric that is being pasted 
exists or not.
   <img width="475" alt="Screen Shot 2020-10-21 at 6 08 42 PM" 
src="https://user-images.githubusercontent.com/61221714/96806409-dbfb5280-13c8-11eb-84b5-7eaa8cad5063.png";>
   
   
   #### How to reproduce the bug
   
   1. Go to 'Chart Explore'
   2. Click in 'Metrics field'
   3. Paste name of a metric, for example try to paste 'test_metric'
   4. See issue - all existing metrics disappear
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `master`
   
   ### 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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to