microsoft / azure-boards-vscode

Azure Boards Extension for Visual Studio Code
MIT License
20 stars 14 forks source link

When selecting an organization and canceling before project we end up in an invalid state #50

Closed cschleiden closed 5 years ago

cschleiden commented 5 years ago

Workaround: Undo/remove the settings.json change to your working tree that the extension generates after selecting the org.

alexcnichols commented 5 years ago

Oh.. ran into the same bug today. I'm wondering if we can simply move the "save org to settings.json" step in the code to be after the select project step. This way the settings are updated for both org and project together or not at all.

cschleiden commented 5 years ago

We could also just store it together as a single unit.

Sent from Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 for Windows 10


From: Alex Nichols notifications@github.com Sent: Thursday, May 23, 2019 7:01:33 PM To: microsoft/azure-boards-vscode Cc: Christopher Schleiden; Assign Subject: Re: [microsoft/azure-boards-vscode] When selecting an organization and canceling before project we end up in an invalid state (#50)

Oh.. ran into the same bug today. I'm wondering if we can simply move the "save org to settings.json" step in the code to be after the select project step. This way the settings are updated for both org and project together or not at all.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHubhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fazure-boards-vscode%2Fissues%2F50%3Femail_source%3Dnotifications%26email_token%3DAAQZRW5TAVCSKZJFRT27CYDPW5D73A5CNFSM4HMUQILKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWD6NXI%23issuecomment-495445725&data=02%7C01%7C%7C2fb3e522968c4e80788f08d6dfebbfe5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636942600954690343&sdata=LtAoyESWGoEKyzBg4cMuu%2B%2BzmvG0kBC21MhKcIO9DKI%3D&reserved=0, or mute the threadhttps://eur04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAAQZRW3RQUPDPDHFZMQOK33PW5D73ANCNFSM4HMUQILA&data=02%7C01%7C%7C2fb3e522968c4e80788f08d6dfebbfe5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636942600954700355&sdata=LQXreEq1cw4DLVm5Z4qcgKLT7XmBn%2FxUE6dXmMw6rUI%3D&reserved=0.