-
Notifications
You must be signed in to change notification settings - Fork 436
Delete tag with special characters like '#' does not work #675
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
Comments
@tv-terminator there could be an issue there (I think we have or had a similar bug with encoding special characters). Can you give a fuller code snippet example of how you're trying to delete tags? Also what type of resource are the tags associated with? |
I have tried both workbooks & datasources; ended up with same result. Heres a full log with code: `# w = workbook_item, t = tableau connection/hook
Works fine with a plain text tag:
|
Thanks @tv-terminator for the repro steps. I can confirm this is a bug and your pointer to Adding new #test tag works, put method:
Deleting the #test tag does not work, delete method throws a 405 error because "#test" is dropped from the URL:
Trying to delete a tag foo#bar shows the similar issue, with everything from the pound sign being dropped in the URL resulting in a 404:
There are a few other open bugs around attributes with special characters, so hopefully we can resolve some of these together. |
Awesome! Thanks @bcantoni ! |
I found that if the tag contains encodable characters such as '#' (which is quite commonly used for tagging!), the delete tag request neither succeeds nor throws an exception.
server-client-python/tableauserverclient/server/endpoint/resource_tagger.py
Line 28 in 43e1b06
The text was updated successfully, but these errors were encountered: