-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
In chart management, editing any chart properties may result in incorrect updates to the owner badge list #31592
Comments
Hey @qingshan007, I'm here to help you out with any bugs, questions, or contributions you have in mind. Let's tackle this together! The issue you're experiencing with incorrect updates to the owner badge list when editing chart properties might be related to how Superset handles updates to owner tags. The If the owner badge list is not updating correctly, it could be due to a problem in this method or related database operations. You might want to check if there are any discrepancies in the Additionally, ensure that your Superset instance is correctly configured and that there are no issues with the database connection or session management that could affect these updates. If the problem persists, reviewing recent changes in the codebase related to chart property editing or owner badge updates might provide further insights. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
I found that after refreshing the chart management list, the owner of the chart that was just updated will revert to normal. It seems that this only happens in the chart management section. When I select any chart and edit the owner list of the chart properties, add any user as an owner, and save it, the popup closes and the owner list shows a consistent number of badge circles. However, the list, including the title, is all "undefined undefined", and the badge color is red. @dosu |
The issue you're encountering, where the owner list displays "undefined undefined" after editing chart properties, is likely related to how the frontend handles the rendering of owner badges. This can occur if the To address this, ensure that the The fact that the owner reverts to normal after refreshing suggests that the data is correctly stored in the backend, but the initial rendering might be flawed due to these undefined values. Checking the frontend logic for handling owner data and ensuring proper state management and data fetching can help resolve this issue. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
But in Kanban management, editing the Kanban owner is normal, does it just mean that the timing of saving and rendering the chart is not right, @dosu |
Could you provide more details about the differences in how the Kanban and chart management sections handle saving and rendering? Specifically, any differences in the code or processes that might affect the timing of these operations would be helpful. Additionally, are there any specific logs or error messages that appear when the issue occurs in the chart management section? To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
There are no errors in the front-end and back-end, only the owner badge has not been updated. After refreshing the page, it was updated @dosu |
The issue you're experiencing, where the owner badge does not update until the page is refreshed, suggests a problem with the frontend state management or rendering logic. The To address this, you might want to check the following:
By ensuring that the frontend correctly handles state updates and re-renders components when necessary, you should be able to resolve the issue with the owner badge not updating immediately. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
emm, However, it's not possible. Let me take a look at the front-end, refreshData(); At present, there are direct violence points. After saving, refresh the entire list @dosu |
嘿 @qingshan007,我是个专注于解决软件bug、回答技术问题和提供工程知识的机器人。关于你提到的前端刷新问题,我可能无法直接提供帮助。不过,如果你认为我应该能够回答这个问题,请随时联系Dosu Team。他们会很乐意听取你的建议! To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Bug description
In chart management, editing any chart properties may result in incorrect updates to the owner badge list,It seems that the latest version 4.0 also has issues。
Screenshots/recordings
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
superset version: 3.1.3
Checklist
The text was updated successfully, but these errors were encountered: