rstedman / tfs-pullrequest-dashboard

tfs dashboard for pullrequests across all repos
MIT License
30 stars 29 forks source link

Does not work with the new Azure DevOps base URL - dev.azure.com/organisation instead of organisation.visualstudio.com #26

Closed stylesm closed 5 years ago

stylesm commented 5 years ago

Navigating to an opened pull request in Chrome from the Pull Request Dashboard (e.g. https://dev.azure.com/org/project/_git/repo/pullrequest/2146), I get the following error. This occurs in Chrome, IE, but not Edge, Firefox. It is happening for all of our developers on both work/personal devices on/off the site network.

This only occurs using the new dev.azure.com URL. The PR loads fine using https://org.visualstudio.com/project/_git/repo/pullrequest/2146.

The error text is:

An unexpected error has occurred within this region of the page. You can try reloading this component or refreshing the entire page.

[Refresh page] [Reload component]

Error: Failed to execute 'replaceState' on 'History': A history state object with URL 'https://dev.azure.com/org/project/_git/repo/pullrequest/2146' cannot be created in a document with origin 'https://dev.azure.com' and URL 'https://org@dev.azure.com/org/project/_git/repo/pullrequest/2146'. Stack in t in u in t in u in div in t in t in div in t in u in div in t in u in div in t in u in div in t in t

image

Logging out/back in, clearing browser cache, etc doesn't appear to work.

rstedman commented 5 years ago

Version 2.0.5 of this extension has been released which addresses this issue.

adhamenaya commented 4 years ago

hi, @rstedman I have the same issue, but which extension are you talking about and how can I use it?