yunchanggou opened a new issue, #22299: URL: https://github.com/apache/superset/issues/22299
there is an error when I attemp to create a Bar Chart, it point Missing dataset,The dataset associated with this chart no longer exists #### How to reproduce the bug 1. select a Bar chart 2. set the DIMENSIONS and METRICS 3. clict to 'UPDATE CHART' 4. See error ### Expected results out put the Bar Chart i want ### Actual results point the error: #### Screenshots Missing dataset,The dataset associated with this chart no longer exists  ### Environment (please complete the following information): - browser type and version:google 89.0.4389.90 (32 ) - superset version: `2.0` - python version: `python --3.8` - node.js version: `node -v` - any feature flags active: ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [ √] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [√ ] I have reproduced the issue with at least the latest released version of superset. - [ √] I have checked the issue tracker for the same issue and I haven't found one similar. ### Additional context 2022-12-01 16:49:25,493:INFO:werkzeug:63.221.140.231 - - [01/Dec/2022 16:49:25] "POST /superset/log/?explode=events HTTP/1.1" 200 - 2022-12-01 16:49:37,145:INFO:werkzeug:63.221.140.231 - - [01/Dec/2022 16:49:37] "POST /superset/log/?explode=events HTTP/1.1" 200 - SupersetSecurityException Traceback (most recent call last): File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/views/utils.py", line 486, in check_datasource_perms datasource_id, datasource_type = get_datasource_info( File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/views/utils.py", line 273, in get_datasource_info raise SupersetException( superset.exceptions.SupersetException: The dataset associated with this chart no longer exists The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/views/base.py", line 207, in wraps return f(self, *args, **kwargs) File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/utils/log.py", line 245, in wrapper value = f(*args, **kwargs) File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/utils/cache.py", line 226, in wrapper response = f(*args, **kwargs) File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/views/utils.py", line 443, in wrapper check_perms(*args, **kwargs) File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/views/utils.py", line 490, in check_datasource_perms raise SupersetSecurityException( superset.exceptions.SupersetSecurityException: The dataset associated with this chart no longer exists 2022-12-01 16:49:41,515:WARNING:superset.views.base:SupersetSecurityException Traceback (most recent call last): File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/views/utils.py", line 486, in check_datasource_perms datasource_id, datasource_type = get_datasource_info( File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/views/utils.py", line 273, in get_datasource_info raise SupersetException( superset.exceptions.SupersetException: The dataset associated with this chart no longer exists The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/views/base.py", line 207, in wraps return f(self, *args, **kwargs) File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/utils/log.py", line 245, in wrapper value = f(*args, **kwargs) File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/utils/cache.py", line 226, in wrapper response = f(*args, **kwargs) File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/views/utils.py", line 443, in wrapper check_perms(*args, **kwargs) File "/home/zte/workspace/superset/venv/lib/python3.8/site-packages/superset/views/utils.py", line 490, in check_datasource_perms raise SupersetSecurityException( superset.exceptions.SupersetSecurityException: The dataset associated with this chart no longer exists 2022-12-01 16:49:41,517:INFO:werkzeug:63.221.140.231 - - [01/Dec/2022 16:49:41] "GET /superset/explore_json/ HTTP/1.1" 403 - -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
