Skip to content

Conversation

@jorwoods
Copy link
Contributor

@jorwoods jorwoods commented Nov 15, 2025

Eric Summers pointed out that when the User Visibility setting is set to "Limited," TSC fails to parse because it can't retrieve any owner information. This bug is due to an UnboundLocalError where the owner and project variables were not assigned in cases where the owner and project elements were not included in the XML response.

This PR also includes a test for the parsing where the owner and project elements are missing and properly set to None on the DatasourceItem.

Closes #1704

Eric Summers pointed out that when the User Visibility setting
is set to "Limited," TSC fails to parse because it can't retrieve
any owner information. This bug is due to an `UnboundLocalError`
where the `owner` and `project` variables were not assigned in cases
where the owner and project elements were not included in the XML
response.

This PR also includes a test for the parsing where the owner and
project elements are missing and properly set to `None` on the
DatasourceItem.
@jorwoods jorwoods force-pushed the jorwoods/datasource_owner branch from 80b98b4 to 35ab86d Compare November 15, 2025 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Datasource XML parsing failure when missing owner or project element

1 participant