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

[Outreachy Task Submission]: Bug in general settings when setting is changed #4876

Closed
mannyAndem opened this issue Mar 25, 2024 · 1 comment

Comments

@mannyAndem
Copy link

So while playing around with the languages feature on the platform, I came across a weird bug where if you changed a language, navigated away from the settings page then navigated back, the fields in the general settings page don't get initially populated. In case I haven't been clear on what exactly the problem is, I've attached a screen record and steps to reproduce.

bandicam.2024-03-25.16-55-52-093.mp4

Steps to Reproduce

  • Go to the settings page and change the site language.
  • Save the settings.
  • Navigate away from the settings page (to the map view for example).
  • Navigate back to the settings page.
  • All the fields (Site name, description, site logo etc) should be blank.
  • If you refresh the site everything should be back to normal.
@mannyAndem mannyAndem changed the title [Outreachy Task Submission]: Bug in general settings when site language is changed [Outreachy Task Submission]: Bug in general settings when setting is changed Mar 26, 2024
@mannyAndem
Copy link
Author

So when trying to fix this issue, I realised the issue doesn't only occur when the language is changed but when any setting in general gets changed. I've fixed the issue and submitted a pr :)

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

2 participants