microsoft / vscode-apimanagement

VS Code extension for Azure API Management.
MIT License
60 stars 40 forks source link

API Revisions not switching correctly #180

Closed builder-sai closed 3 years ago

builder-sai commented 3 years ago

Hi team, we are experiencing a new but rather strange behavior when switching to a revision from VS Code.

TLDR; The VSCode API Revisions continues to show the current API even when choosing to switch to another revision.

We have one API with two revisions. Choosing the API Revisions from the context menu (when right-clicking on the API from "API tree" menu" in VS Code) Switching from rev1 which is current to rev2 it will show on API-name in the API tree that it is API;rev2, but when we open a policy for editing it shows the code from rev1. Even the API-arm-tempFile.json is showing the rev1 template after the revision switch.

Hint: I've just updated my VS Code for today

miaojiang commented 3 years ago

Thank you. Can confirm I am able to reproduce. @RupengLiu