Bug 40564 - (overview) UDM: error messages in web server log about missing translation files
(overview) UDM: error messages in web server log about missing translation files
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.1
Other Linux
: P5 minor (vote)
: UCS 4.x
Assigned To: UMC maintainers
:
Depends on: 40242 40907
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-03 09:53 CET by Daniel Tröder
Modified: 2019-01-03 07:21 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
Who will be affected by this bug?: 5: Will affect all installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.029
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2016-02-03 09:53:01 CET
Split from Bug #40242. This is about the error message from the overview page.

+++ This bug was initially created as a clone of Bug #40242 +++

When logging in to the UDM with the language set to English the Apache error.log is spammed with error messages about translation files not being found:

[Mon Dec 14 10:01:06 2015] [error] [client 10.199.92.2] File does not exist: /var/www/univention-management-console/js_$20150912131759$/umc/modules/i18n/en, referer: https://master.mbu-test.intranet/univention-management-console/?lang=en-US

There's one such line for each UDM module the user has access to.

This is, of course, not critical as they're not required for use but it makes debugging of real problems harder if you have to manually filter out harmless messages. Additionally deciding that they're actually harmless requires the administrator to have programming knowledge and to understand how popular translation systems like GNU gettext work.

These files should simply not be requested if the language is set to English ("en").

A similar albeit less annoying (as it only occurs once) message is the following when loading the "ucs-overview" site:

[Mon Dec 14 10:00:48 2015] [error] [client 10.199.92.2] File does not exist: /var/www/ucs-overview/js/ucs/en.json, referer: https://master.mbu-test.intranet/ucs-overview/
Comment 1 Stefan Gohmann univentionstaff 2019-01-03 07:21:25 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.