Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when opening work item with multi value control: Active work item document does not exist in the current context #301

Open
sarukk opened this issue May 29, 2024 · 3 comments

Comments

@sarukk
Copy link

sarukk commented May 29, 2024

Hi,

We have a field added to a XML template with usage of a multi-value control. It was working for some small amount of time, but now, when we're opening the work items with this field (Test Case), console of web browser reports exceptions, and the filed cannot be filled (suggestions are not being loaded).

Exception itself:

{stack: 'Error: Active work item document does not exist in…j5dkjJ25uNQ5uBRNIJBWQra743XRca55-UQJdVE=:97:10039', message: 'Active work item document does not exist in the current context', name: 'Error'} message : "Active work item document does not exist in the current context" name : "Error" stack : "Error: Active work item document does not exist in the current context\n at W._getWorkItem (https://cdn.vsassets.io/ext/ms.vss-work-web/new-work-item-form-extension/ms.vss-work-web.new-work-item-form-extension.es6.hEhPRu.min.js:1:10534)\n at W.getFieldValue (https://cdn.vsassets.io/ext/ms.vss-work-web/new-work-item-form-extension/ms.vss-work-web.new-work-item-form-extension.es6.hEhPRu.min.js:1:2452)\n at _proxyFunctions.<computed> (https://cdn.vsassets.io/bundles/vss-bundle-common-vptJBj5dkjJ25uNQ5uBRNIJBWQra743XRca55-UQJdVE=:97:8235)\n at i.invokeMethod (https://cdn.vsassets.io/bundles/vss-bundle-common-vptJBj5dkjJ25uNQ5uBRNIJBWQra743XRca55-UQJdVE=:97:4168)\n at i.onMessage (https://cdn.vsassets.io/bundles/vss-bundle-common-vptJBj5dkjJ25uNQ5uBRNIJBWQra743XRca55-UQJdVE=:97:4693)\n at n._handleMessageReceived (https://cdn.vsassets.io/bundles/vss-bundle-common-vptJBj5dkjJ25uNQ5uBRNIJBWQra743XRca55-UQJdVE=:97:9709)\n at https://cdn.vsassets.io/bundles/vss-bundle-common-vptJBj5dkjJ25uNQ5uBRNIJBWQra743XRca55-UQJdVE=:97:10039"

@AminTi
Copy link
Collaborator

AminTi commented May 31, 2024

Hi, thanks for reporting this. Please check this link: https://github.com/Microsoft/vsts-extension-multivalue-control/blob/master/xmldetails.md. Can you describe your environment? Additionally, can you check if you get any errors in the browser console or network log?

@sarukk
Copy link
Author

sarukk commented Jun 3, 2024

Hi,

The process is based on XML-template.
Field with this extensions was working for some time, but lately it stopped (I used the above read me file to set it up). The error/exception from my first post is from browser console.

Br,
Damian

@adamlonsdale
Copy link

I'm seeing this exact same error suddenly starting in a few ADO Projects and shown in the browser console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants