Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

arg.startsWith is not a function #203

Closed
garcus opened this issue May 3, 2017 · 1 comment
Closed

arg.startsWith is not a function #203

garcus opened this issue May 3, 2017 · 1 comment
Labels

Comments

@garcus
Copy link

garcus commented May 3, 2017

I'm having some trouble using some of functionality of Visual Studio Team Services Extension.
When I enable logging at debug level I see these errors in the log file:

error:  [0908] Error showing pinned query work items arg.startsWith is not a function

and

error:  [0908] Error showing work item queries arg.startsWith is not a function

It seems like there is no problem getting the list of work items but trying to open one from the list generates an error.

I have version 1.11.2 of VSCode and 1.11.7.1 of the extension.
Running on Windows 10.

@jeffyoung jeffyoung added the bug label May 3, 2017
@jeffyoung
Copy link
Contributor

Thanks for the report @garcus. I've been able to reproduced this and am investigating.

jeffyoung pushed a commit that referenced this issue May 3, 2017
UrlBuilder introduced this issue. The problem is that when pushing the object onto results, id was being pushed as a number (not a string).  The client was then assuming the value was a string (since ...args was typed as string[]).  That typing was no help here.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants