Skip to content
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

[Bug]: 404 error for league pages - PT/BR #2071

Open
4 of 12 tasks
joaopedrorial opened this issue Mar 31, 2024 · 0 comments
Open
4 of 12 tasks

[Bug]: 404 error for league pages - PT/BR #2071

joaopedrorial opened this issue Mar 31, 2024 · 0 comments
Assignees
Labels
🐞 [A] bug Something isn't working. Needs to be looked at. 🚨 [A] urgent An urgent action needed on something 🎨 Frontend

Comments

@joaopedrorial
Copy link
Collaborator

Is there an existing issue for this?

  • I have searched the existing issues

🐞 Describe the bug

In leagues where the host country is spelled in PT-BR, when the link has the accent, a 404 error appears on the main competition page. In the case of the example, when 'italy' appears in the link (when you are on the page of a match in the competition and try to go to the main page of the league, you are directed to this link, with the accent), the error occurs. When you go to the competition page via the platform's home page, everything works fine, as the link is 'italy'.
404

🤔 Expected Behavior

The right thing to do would be for no link on the platform to contain accents, after all, it's more consistent with the standard. In this case, I believe it would be necessary to review other leagues that may have this case (in PT-BR), such as 'Bulgária' or 'Rússia'. Then we wouldn't have this problem with the 404 error.

What environment is the bug/issue detected in.

  • Production (scores.betarena.com)
  • Development

What browsers are you seeing the problem on?

  • Firefox
  • Chrome
  • Safari
  • Microsoft Edge
  • Brave
  • Opera

What device/platform can the problem be seen?

  • 📱 Mobile
  • 💻 Tablet
  • 🖥️ Laptop/Desktop

Steps To Reproduce

Go to an Italian league match, such as Lecce vs Roma: https://scores.betarena.com/br/futebol/lecce-roma-18870633

On the match page, ask to go to the league's main page, in the top left corner (where it says Futebol - Itália - Serie A)

You will be redirected to this link, which contains the error: https://scores.betarena.com/br/futebol/itália/serie-a

Console Logs (if any)

No response

Anything else?

No response

@joaopedrorial joaopedrorial added 🐞 [A] bug Something isn't working. Needs to be looked at. 🎨 Frontend labels Mar 31, 2024
@jonsnowpt jonsnowpt self-assigned this Apr 1, 2024
@jonsnowpt jonsnowpt moved this to Todo in Betarena Scores Apr 1, 2024
@jonsnowpt jonsnowpt added the 🚨 [A] urgent An urgent action needed on something label Apr 1, 2024
@jonsnowpt jonsnowpt moved this from Todo to Backlog in Betarena Scores Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 [A] bug Something isn't working. Needs to be looked at. 🚨 [A] urgent An urgent action needed on something 🎨 Frontend
Projects
Status: Backlog
Development

No branches or pull requests

2 participants