Skip to content

Breaking request #572

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

Open
jmgasper opened this issue May 10, 2020 · 2 comments
Open

Breaking request #572

jmgasper opened this issue May 10, 2020 · 2 comments
Milestone

Comments

@jmgasper
Copy link
Collaborator

This request was found in a recent bug hunt. This should be handled gracefully by the project-api:

Request:

GET https://api.topcoder-dev.com/v5/projects?memberOnly=true&name=%2A%5B%5D%2A&sort=lastActivityAt&status=active

Response:

Error: [query_parsing_exception] Failed to parse query [*[]*], with { index="projects" & line=1 & col=670 } at respond (/usr/src/app/node_modules/elasticsearch/src/lib/transport.js:349:15) at checkRespForFailure (/usr/src/app/node_modules/elasticsearch/src/lib/transport.js:306:7) at done (/usr/src/app/node_modules/http-aws-es/connector.js:48:7) at IncomingMessage.cleanUp (/usr/src/app/node_modules/http-aws-es/src/node.js:20:7) at IncomingMessage.emit (events.js:323:22) at IncomingMessage.EventEmitter.emit (domain.js:482:12) at endReadableNT (_stream_readable.js:1204:12) at /usr/src/app/node_modules/async-listener/glue.js:188:31 at processTicksAndRejections (internal/process/task_queues.js:84:21)

@vikasrohit
Copy link

fyi @maxceem

@maxceem maxceem added this to the 2.5 milestone May 11, 2020
@maxceem
Copy link
Contributor

maxceem commented May 11, 2020

  • This request fails when we are trying to search by project name 2A[]* or *2A[]* or *2A[].
  • The expected result we should find projects which contain 2A[]:
    • 2A[]* - in the beginning of the name
    • *2A[] - in the end of the name
    • *2A[]* - anywhere in the name

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