{"action":"closed","issue":{"url":"https://api.github.com/repos/pnp/pnpjs/issues/181","repository_url":"https://api.github.com/repos/pnp/pnpjs","labels_url":"https://api.github.com/repos/pnp/pnpjs/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/pnp/pnpjs/issues/181/comments","events_url":"https://api.github.com/repos/pnp/pnpjs/issues/181/events","html_url":"https://github.com/pnp/pnpjs/issues/181","id":344192889,"node_id":"MDU6SXNzdWUzNDQxOTI4ODk=","number":181,"title":"sp-taxonomy: Method GetTermSet does not exist","user":{"login":"baywet","id":7905502,"node_id":"MDQ6VXNlcjc5MDU1MDI=","avatar_url":"https://avatars1.githubusercontent.com/u/7905502?v=4","gravatar_id":"","url":"https://api.github.com/users/baywet","html_url":"https://github.com/baywet","followers_url":"https://api.github.com/users/baywet/followers","following_url":"https://api.github.com/users/baywet/following{/other_user}","gists_url":"https://api.github.com/users/baywet/gists{/gist_id}","starred_url":"https://api.github.com/users/baywet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baywet/subscriptions","organizations_url":"https://api.github.com/users/baywet/orgs","repos_url":"https://api.github.com/users/baywet/repos","events_url":"https://api.github.com/users/baywet/events{/privacy}","received_events_url":"https://api.github.com/users/baywet/received_events","type":"User","site_admin":false},"labels":[{"id":851930666,"node_id":"MDU6TGFiZWw4NTE5MzA2NjY=","url":"https://api.github.com/repos/pnp/pnpjs/labels/area:%20code","name":"area: code","color":"eaeaea","default":false},{"id":802867837,"node_id":"MDU6TGFiZWw4MDI4Njc4Mzc=","url":"https://api.github.com/repos/pnp/pnpjs/labels/status:%20fixed","name":"status: fixed","color":"0e8a16","default":false},{"id":681511173,"node_id":"MDU6TGFiZWw2ODE1MTExNzM=","url":"https://api.github.com/repos/pnp/pnpjs/labels/type:%20bug","name":"type: bug","color":"ee0701","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/pnp/pnpjs/milestones/8","html_url":"https://github.com/pnp/pnpjs/milestone/8","labels_url":"https://api.github.com/repos/pnp/pnpjs/milestones/8/labels","id":3452647,"node_id":"MDk6TWlsZXN0b25lMzQ1MjY0Nw==","number":8,"title":"1.1.3","description":"","creator":{"login":"patrick-rodgers","id":13154702,"node_id":"MDQ6VXNlcjEzMTU0NzAy","avatar_url":"https://avatars3.githubusercontent.com/u/13154702?v=4","gravatar_id":"","url":"https://api.github.com/users/patrick-rodgers","html_url":"https://github.com/patrick-rodgers","followers_url":"https://api.github.com/users/patrick-rodgers/followers","following_url":"https://api.github.com/users/patrick-rodgers/following{/other_user}","gists_url":"https://api.github.com/users/patrick-rodgers/gists{/gist_id}","starred_url":"https://api.github.com/users/patrick-rodgers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrick-rodgers/subscriptions","organizations_url":"https://api.github.com/users/patrick-rodgers/orgs","repos_url":"https://api.github.com/users/patrick-rodgers/repos","events_url":"https://api.github.com/users/patrick-rodgers/events{/privacy}","received_events_url":"https://api.github.com/users/patrick-rodgers/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":5,"state":"open","created_at":"2018-06-26T12:07:22Z","updated_at":"2018-07-27T17:02:28Z","due_on":"2018-08-03T07:00:00Z","closed_at":null},"comments":4,"created_at":"2018-07-24T20:33:05Z","updated_at":"2018-07-27T17:02:28Z","closed_at":"2018-07-27T17:02:28Z","author_association":"NONE","body":"### Category\r\n- [ ] Enhancement\r\n- [x] Bug\r\n- [ ] Question\r\n- [ ] Documentation gap/issue\r\n\r\n### Version\r\n\r\nPlease specify what version of the library you are using: [1.1.2]\r\n\r\n### Expected / Desired Behavior / Question\r\nI'm getting an exception using the sp-taxonomy module, not sure yet exactly where the error is coming from but it could be a SOAP crafting issue.\r\n\r\n### Observed Behavior\r\nTrying to query a term set by it's ID, I get an exception stating the SOAP method doesn't exist. My guess is that the current state/data of my term store represents a case that's not handled properly by the SOAP crafting of the library.\r\n\r\n### Steps to Reproduce\r\nTerm Store ID: 3ded1d9ca6644dbd9565a11b7e5368e9  \r\nTerm Set ID: 73309508-2a42-453c-8896-1eebbdbf958f  \r\nCorrelation ID: ad017e9e-f05d-6000-12ba-7c18f0b937c0  \r\nTenant: baywet.sharepoint.com\r\nCode: \r\n```TS\r\n     const stores = await taxonomy.termStores.get();\r\n     const store = stores[0];\r\n     const termSet = await store.getTermSetById(this.termSetId);\r\n     const terms = await termSet.terms.get();\r\n```\r\n\r\nError Message (JS console)\r\n```\r\n{\"ErrorMessage\":\"Method \\\"GetTermSet\\\" does not exist.\",\"ErrorValue\":null,\"TraceCorrelationId\":\"ad017e9e-f05d-6000-12ba-7c18f0b937c0\",\"ErrorCode\":-1,\"ErrorTypeName\":\"Microsoft.SharePoint.Client.InvalidClientQueryException\"}\r\n    at parsers.ts:46\r\n```\r\nFirst request payload\r\n```XML\r\n<Request xmlns=\"http://schemas.microsoft.com/sharepoint/clientquery/2009\" SchemaVersion=\"15.0.0.0\" LibraryVersion=\"16.0.0.0\" ApplicationName=\"PnPjs\"><Actions><ObjectPath Id=\"1\" ObjectPathId=\"0\" /><ObjectPath Id=\"3\" ObjectPathId=\"2\" /><Query Id=\"4\" ObjectPathId=\"2\"><Query SelectAllProperties=\"true\" ><Properties /></Query ><ChildItemQuery SelectAllProperties=\"true\" ><Properties /></ChildItemQuery ></Query ></Actions><ObjectPaths><StaticMethod Id=\"0\" Name=\"GetTaxonomySession\" TypeId=\"{981cbc68-9edc-4f8d-872f-71146fcbb84f}\" /><Property Id=\"2\" ParentId=\"0\" Name=\"TermStores\" /></ObjectPaths></Request>\r\n```\r\nFirst response\r\n```JSON\r\n[\r\n{\r\n\"SchemaVersion\":\"15.0.0.0\",\"LibraryVersion\":\"16.0.7911.1206\",\"ErrorInfo\":null,\"TraceCorrelationId\":\"ad017e9e-c011-6000-097e-354d34c68c02\"\r\n},1,{\r\n\"IsNull\":false\r\n},3,{\r\n\"IsNull\":false\r\n},4,{\r\n\"_ObjectType_\":\"SP.Taxonomy.TermStoreCollection\",\"_Child_Items_\":[\r\n{\r\n\"_ObjectType_\":\"SP.Taxonomy.TermStore\",\"_ObjectIdentity_\":\"ad017e9e-c011-6000-097e-354d34c68c02|fec14c62-7c3b-481b-851b-c80d7802b224:st:nB3tPWSmvU2VZaEbflNo6Q==\",\"DefaultLanguage\":1033,\"Id\":\"\\/Guid(3ded1d9c-a664-4dbd-9565-a11b7e5368e9)\\/\",\"IsOnline\":true,\"Languages\":[\r\n1033,1036\r\n],\"Name\":\"Taxonomy_\\u002fPcStTUO5lwMFXz\\u002fgAqG6w==\",\"WorkingLanguage\":1033\r\n}\r\n]\r\n}\r\n]\r\n```\r\nSecond request Payload\r\n```XML\r\n<Request xmlns=\"http://schemas.microsoft.com/sharepoint/clientquery/2009\" SchemaVersion=\"15.0.0.0\" LibraryVersion=\"16.0.0.0\" ApplicationName=\"PnPjs\"><Actions><ObjectPath Id=\"1\" ObjectPathId=\"0\" /><ObjectPath Id=\"3\" ObjectPathId=\"2\" /><Query Id=\"4\" ObjectPathId=\"2\"><Query SelectAllProperties=\"true\" ><Properties /></Query ><ChildItemQuery SelectAllProperties=\"true\" ><Properties /></ChildItemQuery ></Query ><ObjectPath Id=\"6\" ObjectPathId=\"5\" /><Query Id=\"7\" ObjectPathId=\"5\"><Query SelectAllProperties=\"true\" ><Properties /></Query ></Query ></Actions><ObjectPaths><StaticMethod Id=\"0\" Name=\"GetTaxonomySession\" TypeId=\"{981cbc68-9edc-4f8d-872f-71146fcbb84f}\" /><Property Id=\"2\" ParentId=\"0\" Name=\"TermStores\" /><Method Id=\"5\" ParentId=\"2\" Name=\"GetTermSet\"><Parameters><Parameter Type=\"String\">73309508-2a42-453c-8896-1eebbdbf958f</Parameter></Parameters></Method></ObjectPaths></Request>\r\n```\r\nSecond response\r\n```JSON\r\n[\r\n{\r\n\"SchemaVersion\":\"15.0.0.0\",\"LibraryVersion\":\"16.0.7911.1206\",\"ErrorInfo\":{\r\n\"ErrorMessage\":\"Method \\\"GetTermSet\\\" does not exist.\",\"ErrorValue\":null,\"TraceCorrelationId\":\"ad017e9e-f05d-6000-12ba-7c18f0b937c0\",\"ErrorCode\":-1,\"ErrorTypeName\":\"Microsoft.SharePoint.Client.InvalidClientQueryException\"\r\n},\"TraceCorrelationId\":\"ad017e9e-f05d-6000-12ba-7c18f0b937c0\"\r\n}\r\n]\r\n```\r\n"}}
{"actor":{"display_login":"patrick-rodgers"}}