Giter Club home page Giter Club logo

monodevelop-tfs-addin's People

Contributors

cansik avatar indomitable avatar iosdevcluster avatar stneykov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

monodevelop-tfs-addin's Issues

Show all user stories returns a server error (PageWorkitemsByIds)

If you double-click on "All User Stories" in team explorer, the server sends following error message:

System.Exception: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Server</faultcode>
      <faultstring>Die Anforderung konnte vom Server nicht verarbeitet werden. ---&gt; Beim Generieren des XML-Dokuments ist ein Fehler aufgetreten. ---&gt; Die angegebene Umwandlung ist ungültig.</faultstring>
      <detail />
    </soap:Fault>
  </soap:Body>
</soap:Envelope>
  at Microsoft.TeamFoundation.Client.SoapInvoker.InvokeResponse () [0x002e1] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/Microsoft.TeamFoundation.Client/SoapInvoker.cs:169 
  at Microsoft.TeamFoundation.WorkItemTracking.Client.ClientService.PageWorkitemsByIds (Microsoft.TeamFoundation.WorkItemTracking.Client.Objects.StoredQuery query, System.Collections.Generic.List`1 ids) [0x00162] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/Microsoft.TeamFoundation.WorkItemTracking.Client/ClientService.cs:231 
  at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.LoadByPage (IProgressMonitor progress) [0x00075] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/Microsoft.TeamFoundation.WorkItemTracking.Client/WorkItemStore.cs:70 
  at MonoDevelop.VersionControl.TFS.GUI.WorkItems.WorkItemListWidget.LoadQuery (Microsoft.TeamFoundation.WorkItemTracking.Client.Objects.StoredQuery query) [0x0002f] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/GUI/WorkItems/WorkItemListWidget.cs:83 
  at (wrapper remoting-invoke-with-check) MonoDevelop.VersionControl.TFS.GUI.WorkItems.WorkItemListWidget:LoadQuery (Microsoft.TeamFoundation.WorkItemTracking.Client.Objects.StoredQuery)
  at MonoDevelop.VersionControl.TFS.GUI.WorkItems.WorkItemsView.Load (Microsoft.TeamFoundation.WorkItemTracking.Client.Objects.StoredQuery query) [0x00023] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/GUI/WorkItems/WorkItemsView.cs:52 
  at MonoDevelop.VersionControl.TFS.GUI.WorkItems.WorkItemsView.Open (Microsoft.TeamFoundation.WorkItemTracking.Client.Objects.StoredQuery query) [0x0002f] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/GUI/WorkItems/WorkItemsView.cs:70 
  at MonoDevelop.VersionControl.TFS.GUI.TeamExplorerPad.OnRowClicked (System.Object sender, Xwt.TreeViewRowEventArgs e) [0x0006a] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/GUI/TeamExplorerPad.cs:197 
  at Xwt.TreeView.OnRowActivated (Xwt.TreeViewRowEventArgs a) [0x00014] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/External/monodevelop/main/external/xwt/Xwt/Xwt/TreeView.cs:448 
  at Xwt.TreeView+WidgetBackendHost.OnRowActivated (TreePosition position) [0x0000d] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/External/monodevelop/main/external/xwt/Xwt/Xwt/TreeView.cs:60 
  at Xwt.GtkBackend.TreeViewBackend+<HandleRowActivated>c__AnonStorey2.<>m__0 () [0x00018] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/External/monodevelop/main/external/xwt/Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs:106 
  at Xwt.Toolkit.Invoke (System.Action a) [0x00015] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/External/monodevelop/main/external/xwt/Xwt/Xwt/Toolkit.cs:261 

Looks like there is an error in this method:

Microsoft.TeamFoundation.WorkItemTracking.Client.ClientService.PageWorkitemsByIds

Getting latest version of specific folder returns files that no longer on server

When I try to get the latest version of specific folder I performing these steps:
Delete folder in Finder
Browse source control explorer
Right-click on folder to get latest version (sometimes with force flag)

In both cases sometimes the files are no longer on server appears in directory.

Looks like a caching bug. Is there any simple way to cleanup extension cache?

Source Control explorer won't open

I've installed the add-in in Xamarin studio 5.9.x. I'm connected to my TFS online, and in the Team Explorer tab are the projects visible. But if I click Source Control Explorer, nothing happens..

What to do?

QueryWorkItems in XamarinStudio for Mac fails

After double-clicking on the workitem "Meine Aufgaben" (MyTasks) in Xamarin Studio on Mac, I get following error message:

System.Exception: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <soap:Body>
    <soap:Fault>
      <faultcode>soap:Client</faultcode>
      <faultstring>TF51582: Der von Ihnen eingegebene Spaltenname enthält nicht unterstützte Zeichen. Geben Sie einen Spaltennamen nur mit alphanumerischen Zeichen ein.
Parametername: sortOrder</faultstring>
      <faultactor>/tfs/MGB%20(Migros%20Genossenschafts%20Bund)/WorkItemTracking/v3.0/ClientService.asmx</faultactor>
      <detail ExceptionMessage="TF51582: Der von Ihnen eingegebene Spaltenname enthält nicht unterstützte Zeichen. Geben Sie einen Spaltennamen nur mit alphanumerischen Zeichen ein.
Parametername: sortOrder" BaseExceptionName="System.ArgumentException">
        <details id="-1" xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/faultdetail/03" />
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>
  at Microsoft.TeamFoundation.Client.SoapInvoker.InvokeResponse () [0x002e1] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/Microsoft.TeamFoundation.Client/SoapInvoker.cs:169 
  at Microsoft.TeamFoundation.WorkItemTracking.Client.ClientService.GetWorkItemIds (Microsoft.TeamFoundation.WorkItemTracking.Client.Objects.StoredQuery query, Microsoft.TeamFoundation.WorkItemTracking.Client.Objects.FieldList fields) [0x0014c] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/Microsoft.TeamFoundation.WorkItemTracking.Client/ClientService.cs:169 
  at Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.LoadByPage (IProgressMonitor progress) [0x00017] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/Microsoft.TeamFoundation.WorkItemTracking.Client/WorkItemStore.cs:63 
  at MonoDevelop.VersionControl.TFS.GUI.WorkItems.WorkItemListWidget.LoadQuery (Microsoft.TeamFoundation.WorkItemTracking.Client.Objects.StoredQuery query) [0x0002f] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/GUI/WorkItems/WorkItemListWidget.cs:83 
  at (wrapper remoting-invoke-with-check) MonoDevelop.VersionControl.TFS.GUI.WorkItems.WorkItemListWidget:LoadQuery (Microsoft.TeamFoundation.WorkItemTracking.Client.Objects.StoredQuery)
  at MonoDevelop.VersionControl.TFS.GUI.WorkItems.WorkItemsView.Load (Microsoft.TeamFoundation.WorkItemTracking.Client.Objects.StoredQuery query) [0x00023] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/GUI/WorkItems/WorkItemsView.cs:52 
  at MonoDevelop.VersionControl.TFS.GUI.WorkItems.WorkItemsView.Open (Microsoft.TeamFoundation.WorkItemTracking.Client.Objects.StoredQuery query) [0x0006a] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/GUI/WorkItems/WorkItemsView.cs:77 
  at MonoDevelop.VersionControl.TFS.GUI.TeamExplorerPad.OnRowClicked (System.Object sender, Xwt.TreeViewRowEventArgs e) [0x0006a] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/MonoDevelop.VersionControl.TFS/GUI/TeamExplorerPad.cs:197 
  at Xwt.TreeView.OnRowActivated (Xwt.TreeViewRowEventArgs a) [0x00014] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/External/monodevelop/main/external/xwt/Xwt/Xwt/TreeView.cs:448 
  at Xwt.TreeView+WidgetBackendHost.OnRowActivated (TreePosition position) [0x0000d] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/External/monodevelop/main/external/xwt/Xwt/Xwt/TreeView.cs:60 
  at Xwt.GtkBackend.TreeViewBackend+<HandleRowActivated>c__AnonStorey2.<>m__0 () [0x00018] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/External/monodevelop/main/external/xwt/Xwt.Gtk/Xwt.GtkBackend/TreeViewBackend.cs:106 
  at Xwt.Toolkit.Invoke (System.Action a) [0x00015] in /Users/cansik/Projects/tfsplugin/monodevelop-tfs-addin/External/monodevelop/main/external/xwt/Xwt/Xwt/Toolkit.cs:261 

Here's what is sent with the envelope to the server:

<QueryWorkitems xmlns="http://schemas.microsoft.com/TeamFoundation/2005/06/WorkItemTracking/ClientServices/03">
   <psQuery>
     <Query Product="http://myserver:8080/tfs/MGB (Migros Genossenschafts Bund)/WorkItemTracking/v3.0/ClientService.asmx" xmlns="">
       <Group GroupOperator="And">
         <Expression Column="System.AreaId" FieldType="288" Operator="under">
           <Number>4</Number>
         </Expression>
         <Expression Column="System.AssignedTo" FieldType="24" Operator="equals">
           <String />
         </Expression>
         <Expression Column="System.WorkItemType" FieldType="16" Operator="equals">
           <String>Aufgabe</String>
         </Expression>
         <Expression Column="System.State" FieldType="16" Operator="notEquals">
           <String>Geschlossen</String>
         </Expression>
         <Expression Column="System.State" FieldType="16" Operator="notEquals">
           <String>Entfernt</String>
         </Expression>
       </Group>
     </Query>
   </psQuery>
   <sort>
     <QuerySortOrderEntry>
       <ColumnName>System.State</ColumnName>
       <Ascending>true</Ascending>
     </QuerySortOrderEntry>
     <QuerySortOrderEntry>
       <ColumnName />
       <Ascending>true</Ascending>
     </QuerySortOrderEntry>
     <QuerySortOrderEntry>
       <ColumnName />
       <Ascending>true</Ascending>
     </QuerySortOrderEntry>
     <QuerySortOrderEntry>
       <ColumnName />
       <Ascending>true</Ascending>
     </QuerySortOrderEntry>
   </sort>
   <useMaster>false</useMaster>
 </QueryWorkitems>

I'm sorry that all the messages are in german, but the tfs is setup like this.
Have you ever encountered this issue?

Maybe it's because there are so many "QuerySortOrderEntry" without a name?

Regards Florian

Merging with p4merge and V2.0 question

First I like to ask: Is version 2.0 already available in the add-in manager in Xamarin ?

With V1.7 of the plugin, I am trying to use p4merge as merging tool in case of conflicts. However I cannot find a way to get the merged file to be the latest in my workspace (and ready for checkin)

Do you know how to configure the merge tool on Xamarin (5.8.2 on OSX) to use p4merge ? If not, can you reccommend a merge tool on OSX that works and provide the configuration for xamarin ?

BTW: I downloaded the code to look at the merging implementation, and I noticed that the base file will always be writeen to the workspace

    private void StartMerging()
    {
        var conflict = listStore.GetValue(listView.SelectedRow, itemField);
        var baseFile = workspace.DownloadToTemp(conflict.BaseDowloadUrl);
        var theirsFile = workspace.DownloadToTemp(conflict.TheirDowloadUrl);

        .....

        //Move merged base file to target.
        baseFile.MoveTo(conflict.TargetLocalItem, true);
        theirsFile.Delete();
        EndMerging();
    }

Should this baseFile.MoveTo have been the merged outcome of the merge tool? I have tried to save the merge result into the baseFile, but that does not work. It simply copies the original basefile to the workspace.

Furthermore, I think somehow the returnvalue from the merge tool process should also be handled to see if the user has canceled the merge tool without accepting a merge. In such case the conflict should still be there.

After update 7.6 version control does not work anymore.

After updating 7.6, I can not commit more than one file together, to get it done, I need to go from file to file, always restarting visual studio, the message that always appears is "Version control operation failed".
Below the log error:
ERROR [2018-08-25 09:57:35Z]: Version control operation failed:
System.Net.WebException: The operation has timed out.
at System.Net.HttpWebRequest.GetRequestStream () [0x0000e] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/System/System.Net/HttpWebRequest.cs:912
at MonoDevelop.VersionControl.TFS.Services.UploadService.UploadPart (System.String fileName, System.String workspaceName, System.String workspaceOwner, System.Int32 fileSize, System.String fileHash, System.String range, System.String contentType, System.Byte[] bytes, System.Int32 copyBytes) [0x000fc] in <44b11cbea5eb491eaa1e670a935d715d>:0
at MonoDevelop.VersionControl.TFS.Services.UploadService.UploadFile (System.String workspaceName, System.String workspaceOwner, MonoDevelop.VersionControl.TFS.Models.CommitItem item) [0x0005c] in <44b11cbea5eb491eaa1e670a935d715d>:0
at MonoDevelop.VersionControl.TFS.Services.RepositoryService.UploadFile (MonoDevelop.VersionControl.TFS.Models.WorkspaceData workspaceData, MonoDevelop.VersionControl.TFS.Models.CommitItem commitItem) [0x00012] in <44b11cbea5eb491eaa1e670a935d715d>:0
at MonoDevelop.VersionControl.TFS.Models.ProjectCollection.UploadFile (MonoDevelop.VersionControl.TFS.Models.WorkspaceData workspaceData, MonoDevelop.VersionControl.TFS.Models.CommitItem commitItem) [0x0000b] in <44b11cbea5eb491eaa1e670a935d715d>:0
at MonoDevelop.VersionControl.TFS.Services.WorkspaceService.CheckIn (MonoDevelop.VersionControl.TFS.Models.CommitItem[] changes, System.String comment, System.Collections.Generic.Dictionary`2[TKey,TValue] workItems) [0x00058] in <44b11cbea5eb491eaa1e670a935d715d>:0
at MonoDevelop.VersionControl.TFS.TeamFoundationServerRepository.OnCommit (MonoDevelop.VersionControl.ChangeSet changeSet, MonoDevelop.Core.ProgressMonitor monitor) [0x000af] in <44b11cbea5eb491eaa1e670a935d715d>:0
at MonoDevelop.VersionControl.Repository.Commit (MonoDevelop.VersionControl.ChangeSet changeSet, MonoDevelop.Core.ProgressMonitor monitor) [0x00019] in /Users/vsts/agent/2.138.6/work/1/s/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/Repository.cs:564
at MonoDevelop.VersionControl.CommitCommand+CommitWorker.Run () [0x00079] in /Users/vsts/agent/2.138.6/work/1/s/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/CommitCommand.cs:70
at MonoDevelop.VersionControl.VersionControlTask.b__13_0 () [0x00000] in /Users/vsts/agent/2.138.6/work/1/s/monodevelop/main/src/addins/VersionControl/MonoDevelop.VersionControl/MonoDevelop.VersionControl/VersionControlTask.cs:51
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2886
at System.Threading.Tasks.Task.Execute () [0x00010] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/referencesource/mscorlib/system/threading/Tasks/Task.cs:2509

My configuration:
Visual Studio Professional 2017 for Mac
Version 7.6.1 (build 9)
Installation UUID: df9aa386-92f1-4cbe-b0e0-3328e9ba4468
Runtime:
Mono 5.12.0.301 (2018-02/4fe3280bba1) (64-bit)
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 4.4.1.178 (master / eeaeb7e6)

Package version: 512000301

NuGet
Version: 4.3.1.4445

.NET Core
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
2.1.2
2.1.1
2.0.5
SDK: /usr/local/share/dotnet/sdk/2.1.302/Sdks
SDK Versions:
2.1.302
2.1.301
2.1.4
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.12.0/lib/mono/msbuild/15.0/bin/Sdks

Xamarin.Profiler
Version: 1.6.3
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Apple Developer Tools
Xcode 9.4.1 (14161)
Build 9F2000

Xamarin.Mac
Version: 4.6.0.13 (Visual Studio Professional)
Hash: 373c313a
Branch:
Build date: 2018-07-24 23:47:12-0400

Xamarin.iOS
Version: 11.14.0.13 (Visual Studio Professional)
Hash: 373c313a
Branch: HEAD
Build date: 2018-07-24 23:47:12-0400

Xamarin.Android
Version: 9.0.0.19 (Visual Studio Professional)
Android SDK: /Users/jeanhaldane/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
8.1 (API level 27)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 27.0.1
SDK Build Tools Version: 27.0.3

Java SDK: /usr
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Xamarin Inspector
Version: 1.4.3
Hash: db27525
Branch: 1.4-release
Build date: Mon, 09 Jul 2018 21:20:18 GMT
Client compatibility: 1

Build Information
Release ID: 706010009
Git revision: 1916291c332d942d45f3d8a952cc315f7864abef
Build date: 2018-08-22 19:19:11+00
Build branch: release-7.6
Xamarin extensions: 53cd52a227bb91315389d4860f821fa4c3b396b3

Operating System
Mac OS X 10.13.6
Darwin 17.7.0 Darwin Kernel Version 17.7.0
Thu Jun 21 22:53:14 PDT 2018
root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

Enabled user installed extensions
MSBuild Editor 2.0.4
NuGet Package Explorer 0.2
Open With 0.1
NuGet Package Management Extensions 0.13
Team Foundation Version Control for TFS and VSTS 0.3.2
DeepClean 1.2.4

Server no listed after trying to add it

I cant install the addin in XS 5.8 and it seems to work ok. I can open it, i click add server, it ask me for credentials, then the list of repositories appear. I select one and close but the server doesnt appear in the list. And then i open Team Explorer but it ask me to add a server anyway.

Remote server unauthorized

TFS server returns HTTP 401 (unauthorized) after Windows user (=TFS user) changes his password in an AD domain. There is no way re-enter your credentials.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.