-
Notifications
You must be signed in to change notification settings - Fork 107
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
[BUG] TDVT action add_ds corrupts connection element of tds files #1218
Comments
Thanks, I'll take a look. Internal tracking: W-14959403 |
@lukewrites I'm curious if you were able to reproduce the problem with the given test case. |
Hi @hab6 sorry for the delay I was out of office, planning to push a change to master today for this |
Hi @hab6 will have a PR out in a bit with our quarterly release that fixes this, but I put the code change from the release that should make it work on this branch: https://github.com/tableau/connector-plugin-sdk/tree/tds-regex |
We appreciate the updates @lukewrites |
Describe the bug
When executing
tdvt action --add_ds
, the attributes of theconnection
element in the tds files are getting corrupted. In our case, the connection attributeclass='actian_odbc'
is being removed from theconnection
element as the attributetdvtconnection=dsn123
is added. The tdvtconnection value (shown here asdsn123
) doesn't seem to matter.Research
To isolate the problem, I extracted the functions
mangle_tds
andupdated_tds_as_str
from setup_env.py into a simple test program parse2.py.txt. There were changes to this area of code in PR 1208.Console Output of Test Program
Desktop
2023.2.4 (20232.23.21215.0350)
and2023.3.1 (20233.23.1227.1336)
both testedPython & package versions
About you:
Name: Michael Habiger
Company: Actian Corporation
The text was updated successfully, but these errors were encountered: