Git Product home page Git Product logo

Comments (5)

ostreifel avatar ostreifel commented on June 2, 2024

The error should not be dependent on how many items there are because the playground always uses the top=50 limit.

Can you check the request urls bodies and responses from the network tab?
Specifically ones with urls for the query

https://[server]/[project]/[team]/_apis/wit/wiql?%24top=50
{"query":"SELECT\n [System.Id]\nFROM workitems\nWHERE\n [id] < 100000 and\n [System.TeamProject] = @project\n ORDER BY id desc\n"}

//Response body here

and the work items in the response
https://[server]/_apis/wit/workItems?ids=999...&fields=System.Id&asOf=2017-02-09T18%3A02%3A24.250Z

Is the extension breaking when it makes a query call or when it attempts to retrieve the work item columns?
Is there a specific work item that causes the error?
What other variations of this query cause the error?

  • Does it also happen with < 2100, < 4000
  • Does it happen with order by id desc/asc
  • If this is a specific work item check the ids between 1900 and 2000 - what makes that particular work item different?

from wiql-editor.

Kujawadl avatar Kujawadl commented on June 2, 2024

You may need to reopen this. I also get this error, and it's almost certainly due to too many results.

I get several errors in the javascript console:

OPTIONS http://tfs.{Server}.com/tfs/DefaultCollection/_apis/wit/workI….Id%2CSystem.State%2CSystem.WorkItemType&asOf=2017-05-17T13%3A57%3A16.813Z 414 (Request-URI Too Long)
...
AI: UrlTooLong message:"url is too long, it has been truncated to 2048 characters.".

I'm attaching the URL it's generating in a text file (it's wayyyy too big to paste here). The bulk of it looks to be thousands and thousands of work item IDs. The URL ends with /workItems?ids=..., so I'm guessing this is after the query has returned the results, and now it's trying to fetch information about them to populate the table..?

url.txt

from wiql-editor.

ostreifel avatar ostreifel commented on June 2, 2024

Published

from wiql-editor.

ostreifel avatar ostreifel commented on June 2, 2024

Please verify that this issue is fixed.

from wiql-editor.

Kujawadl avatar Kujawadl commented on June 2, 2024

Fixed 👍

from wiql-editor.

Related Issues (20)

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.