Bug 48793 - Logo of Portal Entry object not shown if the name of the portal entry contains certain special chars
Logo of Portal Entry object not shown if the name of the portal entry contain...
Status: RESOLVED DUPLICATE of bug 49526
Product: UCS
Classification: Unclassified
Component: Portal
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-26 17:49 CET by Johannes Keiser
Modified: 2019-06-26 18:08 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.137
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 Johannes Keiser univentionstaff 2019-02-26 17:49:45 CET
Reproduce:
- create a settings/portal_entry object with the name "foo.bar"
- set a Logo
-> The logo will not be shown in the portal

Why:
- a css class that contains the name of the portal entry object is created
  and used as an selector to show the logo of the portal entry
  
  management/univention-portal/www/tools.js getIconClass()
  var iconClass = lang.replace('umcPortal-{0}', [name]);

- but a . (dot) is not allowed in a css selector
https://drafts.csswg.org/css2/syndata.html#value-def-identifier
Comment 1 Florian Best univentionstaff 2019-06-26 18:08:20 CEST

*** This bug has been marked as a duplicate of bug 49526 ***