microsoft / azure-devops-extension-sample

Sample web extension for Azure DevOps
MIT License
240 stars 159 forks source link

Open Work Item Error #34

Open BlastMcGuirk opened 5 years ago

BlastMcGuirk commented 5 years ago

When I tried to create a new extension from the sample by doing

tfx extension init

and selecting W for the Work Item Open Sample Project, the project was successfully created and I could create a VSIX file. I uploaded the extension and installed it for my projects collection, and even could open up the Hub with no problems. However, when I click on either button to open the work item, I'm getting an error in the console saying


{
  stack: "Error: No contribution provider or uri for ms.vss-work-web.work-item-form-navigation-service.
      at t.getBackgroundHost (https://{organization}.com/_static/_ext/ms.vss-web/ext-content/ms.vss-web.ext-content.luCfz4YwcHM3_pJR.min.js:1:19120)
      at t.getService (https://{organization}.com/_static/_ext/ms.vss-web/ext-content/ms.vss-web.ext-content.luCfz4YwcHM3_pJR.min.js:1:18834)
      at https://{organization}.com/_static/_ext/ms.vss-web/platform-content/ms.vss-web.platform-content.xjg1YXj9NZN2H2LQ.min.js:1:21067",
  message: "No contribution provider or uri for ms.vss-work-web.work-item-form-navigation-service."
}