Skip to content

Challenge Search breaks in certain cases #5418

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
ajefts opened this issue Mar 3, 2021 · 5 comments
Open

Challenge Search breaks in certain cases #5418

ajefts opened this issue Mar 3, 2021 · 5 comments
Labels
Bug Bash Issues going in next bug bash Challenge Listing P2 Important (resolve within 3 days) topgear

Comments

@ajefts
Copy link
Member

ajefts commented Mar 3, 2021

Describe the bug
When searching for a challenge by name that has a : in the name, the search does not return results.

To Reproduce
Steps to reproduce the behavior:

  1. Go to www.topcoder.com/challenges
  2. Search for a challenge with a : in the name. For example, "TopGear Skill Building Challenge: Design"
  3. Note that no results are returned.
  4. Search for the same challenge but remove the characters after the :. For example, TopGear Skill Building Challenge: Design
  5. Note that a challenge is now matched and displayed.

NOTE: You'll need to find a challenge with a : in it that you have access to in order to reproduce this.

Expected behavior
Search should operate correctly with : in the names

Screenshots

image

image

@ajefts
Copy link
Member Author

ajefts commented Mar 3, 2021

fyi @Oanh-and-only-Oanh

@Oanh-and-only-Oanh Oanh-and-only-Oanh added Accessibility Challenge Listing P2 Important (resolve within 3 days) and removed Accessibility labels Mar 3, 2021
@Oanh-and-only-Oanh
Copy link

@SathyaJayabal let's test for other special characters as well

@SathyaJayabal
Copy link
Collaborator

@Oanh-and-only-Oanh , this could be related to
topcoder-platform/challenge-api#390

@SathyaJayabal
Copy link
Collaborator

@Oanh-and-only-Oanh @ajefts , I tested this with a test challenge. So the issue is the search is only looking for the text in the contest spec and not the title. This has already been logged in the challenge-api repo.

Example:
https://www.topcoder.com/challenges/f3f7694e-cc06-4a88-806c-0eb82f65d6d4
Screenshot 2021-03-04 at 8 58 23 AM

Screenshot 2021-03-04 at 8 57 32 AM

@Oanh-and-only-Oanh Oanh-and-only-Oanh added the Bug Bash Issues going in next bug bash label Mar 30, 2021
@ajefts
Copy link
Member Author

ajefts commented Apr 13, 2021

@Oanh-and-only-Oanh Any idea when this will get picked back up? Thanks.

@ajefts ajefts added the topgear label Apr 13, 2021
@luizrrodrigues luizrrodrigues added this to the Upcoming changes milestone Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bash Issues going in next bug bash Challenge Listing P2 Important (resolve within 3 days) topgear
Projects
None yet
Development

No branches or pull requests

4 participants