Bug 57838 - Failing updates redirect the user to the UMC overview page instead of the UMC Software update module
Summary: Failing updates redirect the user to the UMC overview page instead of the UMC...
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
Version: UCS 5.0
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 5.0-9-errata
Assignee: Christian Castens
QA Contact: Dirk Wiesenthal
URL: https://git.knut.univention.de/univen...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-08 12:49 CET by Christian Castens
Modified: 2025-01-22 17:04 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary 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.069
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
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 Christian Castens univentionstaff 2025-01-08 12:49:45 CET
The Problem:
When a system update fails in the UMC Software Update module, the user is prompted to log in again and is then redirected to the legacy UMC overview page. This page loads within the Software Update module's iframe in the portal, leading to an unexpected and confusing experience.

How to reproduce:
1. On a UCS 5.0-X system, open the Software Update module in the Portal.
2. Ensure the system is in a state where at least one pre-update check fails, causing the entire update process to fail.
3. Start the update process.
    - You will first be redirected to the system maintenance page.
    - When the update fails, the UMC login window will appear.
    - After logging in, you will be redirected to the legacy UMC overview page.
    - The legacy UMC overview page will load within the iframe of the open Software Update module tab in the Portal.

Desired behavior:
When a system update fails in the UMC Software Update module, the user should be redirected from the system maintenance page back to the UMC Software Update module. This allows the user to immediately view information about the current state of the update process.
Comment 1 Christian Castens univentionstaff 2025-01-16 14:28:52 CET
Successful build
Package: univention-updater
Version: 15.0.18-4
Branch: 5.0-0
Scope: errata5.0-9

univention-updater.yaml
40cdcda6b89b | Bug #57838: fix the system update through Software Update UMC module

univention-updater (15.0.18-4)
40cdcda6b89b | Bug #57838: fix the system update through Software Update UMC module

 
After a system update through the Software Update UMC module, the
user now stays in the module to view the system status instead of
being redirected to the UMC overview page.
Comment 2 Christian Castens univentionstaff 2025-01-16 16:27:25 CET
Successful build
Package: univention-updater
Version: 17.0.22
Branch: 5.2-0

Successful build
Package: univention-updater
Version: 16.0.33
Branch: 5.1-0
Comment 3 Christian Castens univentionstaff 2025-01-22 15:15:47 CET
fixup

Successful build
Package: univention-updater
Version: 15.0.18-5
Branch: 5.0-0
Scope: errata5.0-9
Comment 4 Dirk Wiesenthal univentionstaff 2025-01-22 15:18:51 CET
Update in "direct" UMC: OK
Update in Portal's iframe: OK
Error case / success: OK
YAML: OK