Bug 47877 - Regression: Hostname on local portal not shown, instead 'startsite for {hostname}'
Regression: Hostname on local portal not shown, instead 'startsite for {hostn...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Portal
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.3-2-errata
Assigned To: Ole Schwiegert
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-09-27 14:04 CEST by Erik Damrose
Modified: 2018-10-10 12:31 CEST (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.086
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 Erik Damrose univentionstaff 2018-09-27 14:04:20 CEST
Regression introduced with 4.3-2e250 (Bug #47243): Local portals do not display the hostname on the top. Instead of 'Startsite for mailserver' it just shows 'Startsite for {hostname}'. The logic for substituting the placeholder seems to be wrong.
Comment 1 Dirk Wiesenthal univentionstaff 2018-09-27 14:27:19 CEST
In main.js of univention-portal, line 1429 changed to
  var portalName = portalJson.portal.name[locale] || portalJson.portal.name.en_US || '';

There is no lang.replace(..., tools._status) anymore. This needs to be added again.
Comment 2 Ole Schwiegert univentionstaff 2018-10-08 11:04:57 CEST
Package: univention-portal
Version: 2.0.2-12A~4.3.0.201810081102
Comment 3 Dirk Wiesenthal univentionstaff 2018-10-10 09:58:44 CEST
Ok, works again
Comment 4 Arvid Requate univentionstaff 2018-10-10 12:31:38 CEST
<http://errata.software-univention.de/ucs/4.3/268.html>