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
404 when reporting issue #42603
Comments
Looks like this is due to the size of the url. I was testing with the reportIssueUrl as GitHub directly instead of the fwlink, and GitHub supported urls of 4k+ characters - I'm able to load this query string fine when the base is GitHub. I'll add some more length related checks and see if there's anything I can do to reduce the length |
There still is a range of lengths that don't trigger the reporter's length check and then end at the 404. |
What lengths? Could you give an example url? We should now be using github.com/Microsoft/vscode/issues/new instead of the redirect url above |
Not sure what lengths, but this one shows a 404: |
The distro with the updated link didnt get updated in the release branch |
Issue Type
Bug
Description
The issue reporter opened a URI in the browser that shows a 404. It seems to have to do with the stacktrace included in the body, when I remove that it works:
https://go.microsoft.com/fwlink/?LinkId=534872&title=Cannot%20read%20property%20%27provideDecoration%27%20of%20undefined&body=%0A%23%23%23%20Issue%20Type%0ABug%0A%0A%23%23%23%20Description%0A%0ATypeError%3A%20Cannot%20read%20property%20%27provideDecoration%27%20of%20undefined%0A%09at%20%2Fusr%2Fshare%2Fcode-insiders%2Fresources%2Fapp%2Fout%2Fvs%2Fworkbench%2Fnode%2FextensionHostProcess.js%3A534%3A586%0A%09at%20%2Fusr%2Fshare%2Fcode-insiders%2Fresources%2Fapp%2Fout%2Fvs%2Fworkbench%2Fnode%2FextensionHostProcess.js%3A98%3A524%0A%09at%20new%20n.Class.derive._oncancel%20(%2Fusr%2Fshare%2Fcode-insiders%2Fresources%2Fapp%2Fout%2Fvs%2Fworkbench%2Fnode%2FextensionHostProcess.js%3A75%3A657)%0A%09at%20Object.t.asWinJsPromise%20(%2Fusr%2Fshare%2Fcode-insiders%2Fresources%2Fapp%2Fout%2Fvs%2Fworkbench%2Fnode%2FextensionHostProcess.js%3A98%3A487)%0A%09at%20%2Fusr%2Fshare%2Fcode-insiders%2Fresources%2Fapp%2Fout%2Fvs%2Fworkbench%2Fnode%2FextensionHostProcess.js%3A534%3A551%0A%09at%20Array.map%20(native)%0A%09at%20e.%24provideDecorations%20(%2Fusr%2Fshare%2Fcode-insiders%2Fresources%2Fapp%2Fout%2Fvs%2Fworkbench%2Fnode%2FextensionHostProcess.js%3A534%3A475)%0A%09at%20e._doInvokeHandler%20(%2Fusr%2Fshare%2Fcode-insiders%2Fresources%2Fapp%2Fout%2Fvs%2Fworkbench%2Fnode%2FextensionHostProcess.js%3A579%3A983)%0A%09at%20e._invokeHandler%20(%2Fusr%2Fshare%2Fcode-insiders%2Fresources%2Fapp%2Fout%2Fvs%2Fworkbench%2Fnode%2FextensionHostProcess.js%3A579%3A701)%0A%09at%20e._receiveRequest%20(%2Fusr%2Fshare%2Fcode-insiders%2Fresources%2Fapp%2Fout%2Fvs%2Fworkbench%2Fnode%2FextensionHostProcess.js%3A578%3A836)%0A%0A%0A%23%23%23%20VS%20Code%20Info%0A%0AVS%20Code%20version%3A%20Code%20-%20Insiders%201.20.0-insider%20(8adf87c03d78597e385ef787e8fb1ef564f8995b%2C%202018-01-31T06%3A18%3A41.654Z)%0AOS%20version%3A%20Linux%20x64%203.13.0-108-generic%0A%0A%3Cdetails%3E%0A%3Csummary%3ESystem%20Info%3C%2Fsummary%3E%0A%0A%7CItem%7CValue%7C%0A%7C---%7C---%7C%0A%7CCPUs%7CIntel(R)%20Core(TM)%20i7-4770HQ%20CPU%20%40%202.20GHz%20(4%20x%202194)%7C%0A%7CLoad%20(avg)%7C0%2C%200%2C%200%7C%0A%7CMemory%20(System)%7C3.86GB%20(0.17GB%20free)%7C%0A%7CProcess%20Argv%7C%2Fusr%2Fshare%2Fcode-insiders%2Fcode-insiders%20--enable-proposed-api%7C%0A%7CScreen%20Reader%7Cno%7C%0A%7CVM%7C100%25%7C%0A%0A%3C%2Fdetails%3EExtensions%3A%20none%0AReproduces%20only%20with%20extensions%0A%0A%3C!--%20Generated%20by%20VS%20Code%20Issue%20Helper%20--%3E%0A
VS Code Info
VS Code version: Code - Insiders 1.20.0-insider (eed7e19, 2018-01-30T09:40:57.870Z)
OS version: Darwin x64 16.7.0
System Info
Extensions (21)
The text was updated successfully, but these errors were encountered: