Univention Bugzilla – Full Text Bug Listing |
Summary: | UMC Error: Specified locale is not available | ||
---|---|---|---|
Product: | UCS | Reporter: | Jürn Brodersen <brodersen> |
Component: | UMC (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Johannes Keiser <keiser> |
Severity: | normal | ||
Priority: | P5 | CC: | best, damrose, gulden, hahn, tobias.birkefeld, voelker |
Version: | UCS 4.3 | Flags: | best:
Patch_Available+
|
Target Milestone: | UCS 4.4-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=48039 | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 6: Setup Problem: Issue for the setup process |
Who will be affected by this bug?: | 1: Will affect a very few installed domains | How will those affected feel about the bug?: | 5: Blocking further progress on the daily work |
User Pain: | 0.171 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | 2018101921000892, 2018101321000241, 2019030521000527 | Bug group (optional): | |
Max CVSS v3 score: |
Description
Jürn Brodersen
2018-08-17 11:43:58 CEST
I experienced the or a similar problem in my last UCS Technical Training Task #10201 After explicitly switching the language to German in UMC the problem was gone; I used chromium from my notebook to access UMC on a remote server. *** Bug 48039 has been marked as a duplicate of this bug. *** Again: UCS Technical Training 2018-11-22 (In reply to Philipp Hahn from comment #3) > Again: UCS Technical Training 2018-11-22 My browser (Firefox) is configured to use only English ("en-us"), by the UCS system only has "de_DE.UTF.8" # ucr search --brief locale locale/default: de_DE.UTF-8:UTF-8 locale: de_DE.UTF-8:UTF-8 univention-system-setup defined default locales that should be applied in any case in umc/python/setup/util.py: forcedLocales = ['en_US.UTF-8:UTF-8', 'de_DE.UTF-8:UTF-8'] But that is in function auto_complete_values_for_join() which is only called when system-setup is operated via UMC. In the case of comment1 + 3 a PXE installation was done Even worse: If I configure Firefox for only "fr" and surf to the portal, I get an empty page. After adding "de" or "en" in Firefox I again get the portal page. According to Jürn there already is a bug for this issue... *** Bug 48716 has been marked as a duplicate of this bug. *** Patch available in fbest/47602-missing-en-us-locale. It sets locale to "C" if en-US is wanted but doesn't exists on the system and keeps this for the whole session. And doesn't produce further log messages for the session. FYI: the Accept-Language header is set by the frontend to the language you select. So if your browser is espanol (which is not available) it picks english. We could be even more graceful and remove the error completely, so that any request with any locale is allowed. (?!) *** Bug 48304 has been marked as a duplicate of this bug. *** It prevents also the installation of UCS@school if UCS was set up with US Ireland keyboard (attachment 9772 [details]).
univention-management-console.yaml 7cdf6786401c | YAML Bug #47602 univention-management-console (11.0.4-15) e4f394151a31 | Bug #47602: be graceful about missing english locale OK: no error if default en locale is not installed OK: yaml (224a33f789 Bug #47602: yaml typo) -> verified |