Can't access Issue detail from self-hosted gitlab (`Cannot read property 'full' of undefined`)
Checklist
-
I'm using the latest version of the extension - Extension version: v3.29.1
-
I'm using the latest VS Code version - VS Code version: 1.51.1
-
I'm using a supported version of GitLab - GitLab version: 14.2.1
Summary
I can see the list of issues associated with the current branch
But when I click on one of those issue they just display "Fetching issuable details and discussions. This may take a while."
This bug is similar to (#297 (closed)) but the error message is different.
Steps to reproduce
- open VS Code
- go to the GitLab Workflow tab
- click on on of the issues associated with the current branch
What is the current bug behavior?
It opens a tab with only "Fetching issuable details and discussions. This may take a while."
What is the expected correct behavior?
To see the same thing that if I access the issue through "Issues created by me"
Relevant logs and/or screenshots
The logs gives:
Cannot read property 'full' of undefined
TypeError: Cannot read property 'full' of undefined
at getProjectPath (/home/pouxa/.vscode/extensions/gitlab.gitlab-workflow-3.29.1/out/src/gitlab/gitlab_new_service.js:67:58)
at GitLabNewService.getDiscussions (/home/pouxa/.vscode/extensions/gitlab.gitlab-workflow-3.29.1/out/src/gitlab/gitlab_new_service.js:235:29)
at GitLabNewService.getDiscussionsAndLabelEvents (/home/pouxa/.vscode/extensions/gitlab.gitlab-workflow-3.29.1/out/src/gitlab/gitlab_new_service.js:290:18)
at initPanelIfActive (/home/pouxa/.vscode/extensions/gitlab.gitlab-workflow-3.29.1/out/src/webview_controller.js:32:57)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async WebviewController.create (/home/pouxa/.vscode/extensions/gitlab.gitlab-workflow-3.29.1/out/src/webview_controller.js:143:9)
at async WebviewController.open (/home/pouxa/.vscode/extensions/gitlab.gitlab-workflow-3.29.1/out/src/webview_controller.js:130:26)
at async /home/pouxa/.vscode/extensions/gitlab.gitlab-workflow-3.29.1/out/src/extension.js:35:9
at async _executeContributedCommand (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:85:109243)
at async _executeContributedCommand (/opt/visual-studio-code/resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:85:109243)
Edited by Alexandre Poux