Bug 39780 - With open updater module and upon reload - browser asked whether to leave the page
With open updater module and upon reload - browser asked whether to leave the...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Software update
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.1-0-errata
Assigned To: Florian Best
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-04 17:57 CET by Alexander Kläser
Modified: 2016-01-20 13:24 CET (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Usability
Max CVSS v3 score:


Attachments
Screenshot (176.44 KB, image/png)
2015-11-04 17:57 CET, Alexander Kläser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2015-11-04 17:57:23 CET
Created attachment 7247 [details]
Screenshot

We added in Bug 37033 a warning dialogue when reloading the UMC window during a running software update. However, this warning is also displayed when no update process is running, but the UMC module has just been opened (cf. screenshot). This can be somewhat confusing, e.g., when the update module has been opened and an app is installed and asks to reload UMC. A reload will then be consequently blocked with this warning dialogue.
Comment 1 Florian Best univentionstaff 2015-12-16 14:13:24 CET
I had to move the code into updater.js - really hard to differentiate otherwise.

univention-updater (11.0.7-8):
r66393 | Bug #39780: don't display warning pop up if no update is currently performed
r66392 | Bug #39780: Fix space/tab mix, whitespace changes, dead code
Comment 2 Stefan Gohmann univentionstaff 2016-01-20 06:59:57 CET
Alex, do you know how to reproduce it? I've tried it several times without success.
Comment 3 Florian Best univentionstaff 2016-01-20 09:56:36 CET
(In reply to Stefan Gohmann from comment #2)
> Alex, do you know how to reproduce it? I've tried it several times without
> success.
It happens always (maybe only when no updates are available?) - You can see it on demo.univention.de right now. Just open the module, wait for the progressbar and close the browser tab.
Comment 4 Stefan Gohmann univentionstaff 2016-01-20 11:04:36 CET
Tests: OK, I've tested with Chrome, Firefox and IE 11. It worked in both cases like expected (running upgrade, no running upgrade).

YAML: OK
Comment 5 Janek Walkenhorst univentionstaff 2016-01-20 13:24:43 CET
<http://errata.software-univention.de/ucs/4.1/58.html>