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 2018/06/28 17:03:03 UTC
[GitHub] Tonhiohouse opened a new issue #5310: When the user name have
unicode characters, the datasources rest service produces a string exception.
Tonhiohouse opened a new issue #5310: When the user name have unicode characters, the datasources rest service produces a string exception.
URL: https://github.com/apache/incubator-superset/issues/5310
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 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
### Superset version
0.25.0
### Expected results
Get the datasources list
### Actual results
String Exception
### Steps to reproduce
1. Add a new datasource and get the datasource list (the name of the user in the session should contain unicode characters)
2. http://.../superset/datasources/
### Suggestion
-> Class BaseDatasource (superset/connectors/base/models.py)
--> property short_data
The "creator" key in the returned dictionary could be defined as: self.created_by.get_full_name()
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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