-
Notifications
You must be signed in to change notification settings - Fork 155
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
Get-VSTeamVariableGroup by name throws error 404 with TFS 2020 u1.1 #442
Comments
The immediate cause of my issue is that The real bug is that the URL generation logic in Yet another bug is that Looks like the root cause is that the Set-VSTeamAccount is not resolving the version of my on prem TFS instance and is not feeding the right set of api-version values. If the first line goes instead
That resolves the issue. Still, not cool. On a side note, the notion that on-prem TFS is presumed to be TFS2017 - see |
Refactor to get rid of crude and incorrect _appendQueryString. Query string parameter values that can potentially be strings should be URLEncoded. Also, _appendQueryString was assuming that the URL already had a query string and produced invalid URLs if the API version was blank. Fixes #442, #517 --------- Co-authored-by: Seva Alekseyev <sevaa@nih.gov> Co-authored-by: Sebastian Schütze <sebastian.schuetze@razorspoint.com>
Steps to reproduce
Expected behavior
A group record
Actual behavior
Error message with a large HTML along the lines of "error 404"
Retrieval by ID works.
If you set the project by
Set-VSTeamDefaultProject
, same result.Environment data
OS
Server
The text was updated successfully, but these errors were encountered: