Bug 51466 - Traceback due to Login links via UCR
Summary: Traceback due to Login links via UCR
Status: RESOLVED WONTFIX
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
Version: UCS 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UMC maintainers
QA Contact: UMC maintainers
URL:
Keywords:
Depends on: 50609
Blocks:
  Show dependency treegraph
 
Reported: 2020-06-11 09:16 CEST by Florian Best
Modified: 2025-02-05 09:29 CET (History)
4 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very few 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.023
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Regression
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2020-06-11 09:16:52 CEST
When opening the Portal I get a javascript traceback:

TypeError: Cannot read property 'appendChild' of null
    at Object.l.place (dojo.js.uncompressed.js:13024)
    at Object._renderLink (dialog.js:139)
    at Object._addLinkFromUcr (dialog.js:104)
    at Object._addDefaultLinks (dialog.js:124)
    at Object.renderLoginDialog (dialog.js:108)
    at Object.callback (saml-config.js:11)
    at config.js:149
    at d (dojo.js.uncompressed.js:6076)
    at Array.then.c.then (dojo.js.uncompressed.js:6297)
    at callback (config.js:145) "TypeError: Cannot read property 'appendChild' of null

The only configured UCR variables are:
umc/login/links/how_do_i_login/enabled: true
umc/login/links/login_without_sso/enabled: true
umc/login/links/login_without_sso/text/de: Ohne Single Sign-On anmelden
umc/login/links/login_without_sso/text: Login without Single Sign On


+++ This bug was initially created as a clone of Bug #50609 +++
Comment 1 Ingo Steuwer univentionstaff 2020-06-11 09:56:01 CEST
As this is not the default configuration: can you add more information what changes you made on the system?
Comment 3 Julia Bremer univentionstaff 2020-06-11 10:20:52 CEST
Just tested this.
It happened to me with a fresh system (master) without changing the default configuration, when opening the login field with SSO. 
Only once though, after a refresh I couldn't reproduce the error any more.
Comment 4 Ingo Steuwer univentionstaff 2020-06-11 14:44:05 CEST
(In reply to Julia Bremer from comment #3)
> Just tested this.
> It happened to me with a fresh system (master) without changing the default
> configuration, when opening the login field with SSO. 
> Only once though, after a refresh I couldn't reproduce the error any more.

mhm.... if this traceback is the default for all installations, we should have a very high priority. If not, not...

Nico, can you track this?
Comment 6 Jan-Luca Kiok univentionstaff 2025-02-05 09:29:12 CET
This issue has been filed against UCS 4.4.

UCS 4.4 is out of maintenance and components may have vastly changed in later releases. Thus, this issue is now being closed.

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