diff --git a/CHANGELOG.md b/CHANGELOG.md index 12a95d31b..c4fece541 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ -## 0.5 (11 Sept 2017) +## 0.5.1 (21 Sept 2017 + +* Fix a critical issue caused by #224 that was the result of lack of test coverage (#226) + +## 0.5 (20 Sept 2017) * Added revision settings to update site (#187) * Added support for certified data sources (#189) diff --git a/tableauserverclient/server/endpoint/datasources_endpoint.py b/tableauserverclient/server/endpoint/datasources_endpoint.py index 1704fd5ac..b50d5d543 100644 --- a/tableauserverclient/server/endpoint/datasources_endpoint.py +++ b/tableauserverclient/server/endpoint/datasources_endpoint.py @@ -57,7 +57,8 @@ def populate_connections(self, datasource_item): raise MissingRequiredFieldError(error) url = '{0}/{1}/connections'.format(self.baseurl, datasource_item.id) server_response = self.get_request(url) - datasource_item._set_connections(ConnectionItem.from_response(server_response.content)) + datasource_item._set_connections( + ConnectionItem.from_response(server_response.content, self.parent_srv.namespace)) logger.info('Populated connections for datasource (ID: {0})'.format(datasource_item.id)) # Delete 1 datasource by id