[PR #3967] [MERGED] Fix error preventing profile settings update without selecting a language first #17170

Closed
opened 2025-11-02 12:28:15 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3967
Author: @daviian
Created: 5/15/2018
Status: Merged
Merged: 5/15/2018
Merged by: @lafriks

Base: masterHead: bugfix/language-size-5-error


📝 Commits (1)

  • 3140725 add user language value to hidden input to enable saving of profile without changing language

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 templates/user/settings/profile.tmpl (+1 -1)

📄 Description

Currently it is not possible to save the profile in the settings without opening/selecting a language from the dropdown due to the missing value in the hidden input field.

At the moment an error is shown: Language must be size 5.

This PR sets the users language on this field.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/3967 **Author:** [@daviian](https://github.com/daviian) **Created:** 5/15/2018 **Status:** ✅ Merged **Merged:** 5/15/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `bugfix/language-size-5-error` --- ### 📝 Commits (1) - [`3140725`](https://github.com/go-gitea/gitea/commit/3140725948fbf2815b82944e1fc3eb32868d91d6) add user language value to hidden input to enable saving of profile without changing language ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `templates/user/settings/profile.tmpl` (+1 -1) </details> ### 📄 Description Currently it is not possible to save the profile in the settings without opening/selecting a language from the dropdown due to the missing value in the hidden input field. At the moment an error is shown: `Language must be size 5.` This PR sets the users language on this field. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:28:15 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17170