microsoft / vsts-extension-multivalue-control

A work item form control which allows selection of multiple values.
MIT License
46 stars 45 forks source link

Multivalue control has stopped working in my test environment #125

Closed patdelaney closed 1 year ago

patdelaney commented 4 years ago

It's broken again today, It was working earlier. Here is the log. This is related to 117. (Same)

tfsapp-t01.zip

patdelaney commented 4 years ago

Any WIT that has Multivalue in it is broken. It's not limited to just one Project/Wit

obvioussean commented 4 years ago

Can you please provide the console output?

obvioussean commented 4 years ago

Actually, looking at the HAR it seems to be using the URL for the local version of your server. You need to ensure your public access mapping is correctly configured for the multivalue control to work.

patdelaney commented 4 years ago

I thought I attached it to the ticket as a zip file

On Wed, Nov 20, 2019 at 1:21 PM Sean Ferguson notifications@github.com wrote:

Can you please provide the console output?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vsts-extension-multivalue-control/issues/125?email_source=notifications&email_token=AB6FEA4FZUIK3BCLAYGOSMDQUWE2RA5CNFSM4JPXMYP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEUBHWI#issuecomment-556274649, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6FEA5WVYYEYYZLPRG2OFDQUWE2RANCNFSM4JPXMYPQ .

patdelaney commented 4 years ago

I',mnot sure what you are saying, How to I fix that in the control?

On Wed, Nov 20, 2019 at 1:23 PM Sean Ferguson notifications@github.com wrote:

Actually, looking at the HAR it seems to be using the URL for the local version of your server. You need to ensure your public access mapping is correctly configured for the multivalue control to work.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vsts-extension-multivalue-control/issues/125?email_source=notifications&email_token=AB6FEA4H7RPECB6TCBJ3VLTQUWFCJA5CNFSM4JPXMYP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEUB3SY#issuecomment-556277195, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6FEA2M3R4A52WVFMV2UTTQUWFCJANCNFSM4JPXMYPQ .

patdelaney commented 4 years ago

I checked my test environment and the control is working again. I can't for the live of me figure out why it comes and goes. I have not modified the WIT that it is using.

obvioussean commented 4 years ago

The zip had the har, which does not include console output. But in this case the issue isn't with the control, it's with how you've configured your public access mapping. Did you verify that it is correct?

patdelaney commented 4 years ago

The control was working again this morning and I have changed nothing on the Server.

I'm not sure where you check or set the public address mapping. We are on TFS 2018 update 3.2

Pat

On Fri, Nov 22, 2019 at 11:04 AM Sean Ferguson notifications@github.com wrote:

The zip had the har, which does not include console output. But in this case the issue isn't with the control, it's with how you've configured your public access mapping. Did you verify that it is correct?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vsts-extension-multivalue-control/issues/125?email_source=notifications&email_token=AB6FEA7WSIYI7GAURH32XNLQVAGINA5CNFSM4JPXMYP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE6H47I#issuecomment-557612669, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6FEAYSZSYZAWDYIBJXH2TQVAGINANCNFSM4JPXMYPQ .

obvioussean commented 4 years ago

It’s configured in the tfsmgmt tool.

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

From: patdelaneymailto:notifications@github.com Sent: Friday, November 22, 2019 11:56 AM To: microsoft/vsts-extension-multivalue-controlmailto:vsts-extension-multivalue-control@noreply.github.com Cc: Sean Fergusonmailto:sferg@exchange.microsoft.com; Commentmailto:comment@noreply.github.com Subject: Re: [microsoft/vsts-extension-multivalue-control] Multivalue control has stopped working in my test environment (#125)

The control was working again this morning and I have changed nothing on the Server.

I'm not sure where you check or set the public address mapping. We are on TFS 2018 update 3.2

Pat

On Fri, Nov 22, 2019 at 11:04 AM Sean Ferguson notifications@github.com wrote:

The zip had the har, which does not include console output. But in this case the issue isn't with the control, it's with how you've configured your public access mapping. Did you verify that it is correct?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vsts-extension-multivalue-control/issues/125?email_source=notifications&email_token=AB6FEA7WSIYI7GAURH32XNLQVAGINA5CNFSM4JPXMYP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE6H47I#issuecomment-557612669, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6FEAYSZSYZAWDYIBJXH2TQVAGINANCNFSM4JPXMYPQ .

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvsts-extension-multivalue-control%2Fissues%2F125%3Femail_source%3Dnotifications%26email_token%3DADSXPJTDC6THZJE3CH66363QVA2OJA5CNFSM4JPXMYP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE6WMVA%23issuecomment-557672020&data=02%7C01%7Csferg%40exchange.microsoft.com%7C842e8418cd42423b590a08d76f860bf8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637100493828316164&sdata=pa%2FFMXFSO%2BAMb1TqMj1zWsRYKhVtJC0AneKKtoe0xjo%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADSXPJQIBHELZJX6IJX5HMTQVA2OJANCNFSM4JPXMYPQ&data=02%7C01%7Csferg%40exchange.microsoft.com%7C842e8418cd42423b590a08d76f860bf8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637100493828316164&sdata=JK4DfpDBjMJZyST9pjQCg3lWBFdTRkcoEf10xceTkcA%3D&reserved=0.

patdelaney commented 4 years ago

I'll get a screenshot on Monday

On Fri, Nov 22, 2019 at 2:00 PM Sean Ferguson notifications@github.com wrote:

It’s configured in the tfsmgmt tool.

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

From: patdelaneymailto:notifications@github.com Sent: Friday, November 22, 2019 11:56 AM To: microsoft/vsts-extension-multivalue-control<mailto: vsts-extension-multivalue-control@noreply.github.com> Cc: Sean Fergusonmailto:sferg@exchange.microsoft.com; Comment<mailto: comment@noreply.github.com> Subject: Re: [microsoft/vsts-extension-multivalue-control] Multivalue control has stopped working in my test environment (#125)

The control was working again this morning and I have changed nothing on the Server.

I'm not sure where you check or set the public address mapping. We are on TFS 2018 update 3.2

Pat

On Fri, Nov 22, 2019 at 11:04 AM Sean Ferguson notifications@github.com wrote:

The zip had the har, which does not include console output. But in this case the issue isn't with the control, it's with how you've configured your public access mapping. Did you verify that it is correct?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/microsoft/vsts-extension-multivalue-control/issues/125?email_source=notifications&email_token=AB6FEA7WSIYI7GAURH32XNLQVAGINA5CNFSM4JPXMYP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE6H47I#issuecomment-557612669 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/AB6FEAYSZSYZAWDYIBJXH2TQVAGINANCNFSM4JPXMYPQ

.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub< https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fvsts-extension-multivalue-control%2Fissues%2F125%3Femail_source%3Dnotifications%26email_token%3DADSXPJTDC6THZJE3CH66363QVA2OJA5CNFSM4JPXMYP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE6WMVA%23issuecomment-557672020&data=02%7C01%7Csferg%40exchange.microsoft.com%7C842e8418cd42423b590a08d76f860bf8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637100493828316164&sdata=pa%2FFMXFSO%2BAMb1TqMj1zWsRYKhVtJC0AneKKtoe0xjo%3D&reserved=0>, or unsubscribe< https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FADSXPJQIBHELZJX6IJX5HMTQVA2OJANCNFSM4JPXMYPQ&data=02%7C01%7Csferg%40exchange.microsoft.com%7C842e8418cd42423b590a08d76f860bf8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637100493828316164&sdata=JK4DfpDBjMJZyST9pjQCg3lWBFdTRkcoEf10xceTkcA%3D&reserved=0

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/microsoft/vsts-extension-multivalue-control/issues/125?email_source=notifications&email_token=AB6FEA7CLHYA4Y2DHEQRVWLQVA265A5CNFSM4JPXMYP2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE6WYNA#issuecomment-557673524, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6FEA7OUGR66HS2VSWCYNTQVA265ANCNFSM4JPXMYPQ .

Xenimus commented 4 years ago

I am seeing the same issue, my Multivalue Control extension seemingly stopped working randomly too. Importing WIT that use the extension presents the error: VS403121: Extension(s) "ms-devlabs.vsts-extensions-multivalue-control" does not exist , or has no work item form contribution.

Is the fix to ensure your public access mapping is correctly configured for the multivalue control to work?

bgordon99 commented 4 years ago

I am seeing this issue as well with our on prem test environment. Has happened twice now. Happens in Chrome, IE, Edge. Deleting temp files, etc. has no effect. There were no changes to environment and no changes to the WIT. Just stopped working. I don't think the public access mapping is the issue because it worked for a time with the same settings.

patdelaney commented 4 years ago

I noticed that this happened again Today. If I run iisreset /restart it works again

patdelaney commented 3 years ago

It was not working again this morning, if I log onto the server and run iisreset /restart it works again. While this is a workaround for my test environment. This is not acceptable for production. I am no the only person reporting this behavior. Please leverage those of us with the issue to gather information to get to the route cause of the problem.

I will kick this off with questions that may make it easier for me to troubleshoot.

Do the current plugin have any sort of auto updating feature, where maybe it's trying to access the internet to check its version to see if it should be updated?

When you open a workitem that contains a field that uses the multi-select you know it's going to error when you get a spinning loading icon (in chrome) near the field that has that control.

Does the multivalue control access and sort of running process on the server when loading? or is all the functionality of the plugin handled by the browser? And if that is the case why does IISRESET / restart on the TFS app server fix the issue?

Here are the lines in my workitem that are related to the control.

the definition of the field:

     <FIELD name="Region" refname="WPS.Bug.Region" type="String" reportable="dimension">
        <REQUIRED />
        <SUGGESTEDVALUES expanditems="true">
          <LISTITEM value="[East]" />
          <LISTITEM value="[OS]" />
          <LISTITEM value="[TDEFIC]" />
        </SUGGESTEDVALUES>
      </FIELD>

The section for how it's displayed in Visual Studio

                    <Control FieldName="WPS.Bug.Region" Type="MultiValueControl" Label="Region" LabelPosition="Left">
                      <CustomControlOptions />
                    </Control>

The definition of the extension at the top of the web layout

        <Extensions>
          <Extension Id="ms-devlabs.vsts-extensions-multivalue-control" />
        </Extensions>

The section in Web Layout for the field

              <ControlContribution Label="Region" Id="ms-devlabs.vsts-extensions-multivalue-control.multivalue-form-control">
                <Inputs>
                  <Input Id="FieldName" Value="WPS.Bug.Region" />
                </Inputs>
              </ControlContribution>