Bug 50267

Summary: System activation not working for App Appliances that update to 4.4-2
Product: UCS Reporter: Erik Damrose <damrose>
Component: GeneralAssignee: Dirk Wiesenthal <wiesenthal>
Status: CLOSED FIXED QA Contact: Felix Botner <botner>
Severity: normal    
Priority: P5 CC: gulden, wiesenthal
Version: UCS 4.4   
Target Milestone: UCS 4.4-2-errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: Bug Report What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 2: Will only affect a few installed domains How will those affected feel about the bug?: 5: Blocking further progress on the daily work
User Pain: 0.343 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:

Description Erik Damrose univentionstaff 2019-09-26 10:40:27 CEST
The e.g. current owncloud App Appliance is UCS 4.4-1. When setting up an appliance it updates to UCS 4.4-2.
When accessing the system activation only the page header is shown, the activation wizard is missing. The appliance can not be activated and used.

The browser console shows a traceback:

dojo.js.uncompressed.js:8587 TypeError: Cannot read property 'split' of undefined
    at Object.postMixInProperties (ActivationWizard.js:56)
    at Object.create (dojo.js.uncompressed.js:15822)
    at Object.postscript (dojo.js.uncompressed.js:15776)
    at new <anonymous> (dojo.js.uncompressed.js:10385)
    at Object.createWizard (main.js:92)
    at Object.start (main.js:53)
    at Object.callback ((index):17)
    at callback (config.js:149)
    at pa (dojo.js.uncompressed.js:1164)
    at dojo.js.uncompressed.js:1330 "in domReady callback" "TypeError: Cannot read property 'split' of undefined
    at Object.postMixInProperties (http://10.200.29.85/univention/system-activation/ActivationWizard.js:56:44)
    at Object.create (http://10.200.29.85/univention/js/dojo/dojo.js:231:371)
    at Object.postscript (http://10.200.29.85/univention/js/dojo/dojo.js:231:104)
    at new <anonymous> (http://10.200.29.85/univention/js/dojo/dojo.js:153:34)
    at Object.createWizard (http://10.200.29.85/univention/system-activation/main.js:92:19)
    at Object.start (http://10.200.29.85/univention/system-activation/main.js:53:9)
    at Object.callback (http://10.200.29.85/univention/system-activation/:17:23)
    at callback (http://10.200.29.85/univention/js/config.js:149:22)
    at pa (http://10.200.29.85/univention/js/dojo/dojo.js:20:170)
    at http://10.200.29.85/univention/js/dojo/dojo.js:20:423"
Comment 1 Erik Damrose univentionstaff 2019-09-26 10:55:18 CEST
Introduced with 02222e64
Comment 2 Dirk Wiesenthal univentionstaff 2019-09-26 11:57:10 CEST
Quick and dirty: I hard coded '4.4' as ucsVersion for now. Needs to be updated to '5.0' eventually if no better solution is found.

univention-system-activation 4.0.0-8A~4.4.0.201909261151
Comment 3 Felix Botner univentionstaff 2019-09-26 12:00:15 CEST
OK - univention-system-activation
OK - yaml
Comment 4 Erik Damrose univentionstaff 2019-09-26 15:10:14 CEST
<http://errata.software-univention.de/ucs/4.4/291.html>