-
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
Sqllab UI regession in 3.0.0 where it's not displaying certain string values #25561
Comments
I have taken a look at the code but don't have a clue due to lack of front end code knowledge. @justinpark Do you happen to know what the problem might be? |
probably related code:
See:
Effectively it removes all it thinks is html. |
This is still happening on current master. We're open to proposals/PRs to fix this. |
I know @mistercrunch has looked at some of this HTML rendering business, just in case he sees any obvious solution here |
Recent related feature -> #27969, so it looks like it can be switched off, but given the issue here, better/smarter html detection could help as well. For SQL Lab specifically looks like the flag lives there |
For the record I think this is the area that would need to be improved if we wanted to be smarter around detecting html -> https://github.com/apache/superset/blob/master/superset-frontend/packages/superset-ui-core/src/utils/html.tsx#L43-L45 |
After we upgraded to 3.0.0, we have received user reporting query results not rendering in sqllab results. I have checked the api call results in network tab and can confirm the correct value has been returned from the backend database. So this seems like an issue with front end.
How to reproduce the bug
SELECT '<abcdef:12345>' as test_str
Expected results
String values rendered as in 2.0.0
Actual results
String values not being rendered
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
(please complete the following information):
superset version
3.0.0python --version
3.9node -v
v20.8.0Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: