Univention Bugzilla – Full Text Bug Listing |
Summary: | UDM: error messages in web server log about missing translation files | ||
---|---|---|---|
Product: | UCS | Reporter: | Moritz Bunkus <m.bunkus> |
Component: | UDM (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Daniel Tröder <troeder> |
Severity: | minor | ||
Priority: | P5 | CC: | best, gohmann, walkenhorst |
Version: | UCS 4.1 | ||
Target Milestone: | UCS 4.1-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | 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: | |||
Bug Depends on: | |||
Bug Blocks: | 40564, 40907 | ||
Attachments: | patch |
Description
Moritz Bunkus
2015-12-14 10:06:12 CET
Yes, this is really annoying when debugging an english session! (In reply to Moritz Bunkus from comment #0) > These files should simply not be requested if the language is set to English > ("en"). Some files exists for the english language e.g. due to some branding. So it's better to provide just an empty file. We would need to rebuild every package for this. Created attachment 7376 [details]
patch
Attached is a patch which adds a internal apache rewrite rule to a empty file so that these errors doesn't show up anymore in the error.log.
Applied that patch. univention-management-console-frontend.yaml: r66624 | YAML Bug #40242 univention-management-console-frontend (5.0.63-9): r66623 | Bug #40242: Deliver empty translation files instead of a 404 Not found error OK: Code OK: advisory OK: manual test: # wget -q http://localhost/univention-management-console/js/umc/modules/i18n/en/nope.json -O - {} Leaving in state RESOLVED until it was decided if the overview page could also be modified that way: [Fri Jan 29 13:19:54 2016] [error] [client 10.205.1.238] File does not exist: /var/www/ucs-overview/js/ucs/en.json, referer: https://10.200.3.35/ucs-overview/ (In reply to Daniel Tröder from comment #4) > Leaving in state RESOLVED until it was decided if the overview page could > also be modified that way: Can you split it into a new bug? Like Moritz said, it is less annoying. Overview error split to Bug #40564. The rest is already verified. |