В Microsoft Test Manager для TFS 2013.4 я пытаюсь выполнить операцию «Клонировать план» и получаю сообщение об ошибке:
Это полный журнал ошибок из Event Viewer.
The description for Event ID 0 from source VSTTExecution cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
(mtm.exe, PID 8824, Thread 1) Exception: Microsoft.TeamFoundation.TestManagement.Client.TestManagementServerException
Message: TF237165: Team Foundation could not update the work item because of a validation error on the server. This may happen because the work item type has been modified or destroyed, or you do not have permission to update the work item.
Stack Trace: at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.HandleReply(TfsClientOperation operation, TfsMessage message, Object[]& outputs)
at Microsoft.TeamFoundation.Client.Channels.TfsHttpClientBase.Invoke(TfsClientOperation operation, Object[] parameters, TimeSpan timeout, Object[]& outputs)
at Microsoft.TeamFoundation.TestManagement.Client.TestManagementWebService3.BeginCloneOperation(Int32 sourcePlanId, TestPlan destinationPlan, Int32[] sourceSuiteIds, String projectName, CloneOptions options)
at Microsoft.TeamFoundation.TestManagement.Client.TestPlanHelper.BeginCloneOperation(Int32 sourcePlanId, ITestPlan destPlan, List`1 sourceSuiteIds, String projectName, CloneOptions options)
at Microsoft.TeamFoundation.TestManagement.Activities.CloneOperationHelper.InvokeBeginCloneOperation(ClonePlanPart part, Int32 sourceTestPlanId, List`1 sourceTestSuiteIds, ITestPlan destinationTestPlan, CloneOptions cloneOptions)
at Microsoft.TeamFoundation.TestManagement.Activities.CloneOperationHelper.ClonePlanComplete(Object sender, ModalMessageEventArgs modalMessageEventArgs)
at Microsoft.TeamFoundation.TestManagement.Client.WpfControls.ActivityHostControl.OnAdornerWorkComplete(Object sender, MessageButtonEventArgs eventArgs)
BaseExceptionMessage: TF237165: Team Foundation could not update the work item because of a validation error on the server. This may happen because the work item type has been modified or destroyed, or you do not have permission to update the work item.
InnerException: System.Web.Services.Protocols.SoapException
InnerException Message: TF237165: Team Foundation could not update the work item because of a validation error on the server. This may happen because the work item type has been modified or destroyed, or you do not have permission to update the work item.
InnerException Stack Trace:
InnerExceptionBaseExceptionMessage: TF237165: Team Foundation could not update the work item because of a validation error on the server. This may happen because the work item type has been modified or destroyed, or you do not have permission to update the work item.
the message resource is present but the message is not found in the string/message table
У меня есть полные права администратора для коллекции проектов, поэтому я совершенно уверен, что это не проблема с разрешениями, а скорее задействованные типы рабочих элементов «были изменены или уничтожены». Я точно не знаю, как отследить это или какие шаги предпринять дальше.
Обновить
Сделал дополнительную диагностику. Я создал полностью пустой план тестирования в своем проекте TFS (без связанных наборов тестов, тестовых наборов, рабочих элементов...). Я попытался клонировать план и все еще получаю ту же ошибку.
Обновить
В прошлом рабочие элементы были перенесены из шаблона MSF for Agile Software Development v5.0
в шаблон MSF for Agile Software Development 2013.4
. Могут ли эти рабочие элементы каким-либо образом мешать процессу клонирования, и какой процесс я предприму для очистки этих старых рабочих элементов, если это проблема?
ExternalLinks
(то есть наборов изменений) я сохранил исходный ArtifactURI и просто связал его с новым рабочим элементом. Кроме того, я создал ссылки на исходные рабочие элементы из недавно перенесенных рабочих элементов. Озадачивает то, что я тестировал с пустым планом тестирования, и он все равно потерпел неудачу. Я попробую ваше предложение о создании нового командного проекта. - person Aaron Palmer   schedule 13.04.2015