Bug 50530 - Show Univention Summit 2020 message in UMC
Show Univention Summit 2020 message in UMC
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-2-errata
Assigned To: Florian Best
Johannes Keiser
:
Depends on: 48372
Blocks: 52499
  Show dependency treegraph
 
Reported: 2019-11-21 16:31 CET by Florian Best
Modified: 2020-12-15 15:14 CET (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
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):
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 2019-11-21 16:31:34 CET
For the Summit in 2020 we have to apply this as well.

+++ This bug was initially created as a clone of Bug #48372 +++

A message for the Univention Summit 2019 should be shown in the UMC
- The first message shown is a popup dialog.
- If the popup dialog is not shown then a notification is shown.
- The popup dialog and/or notification are not shown if a respective cookie is set or February 1, 2019, has passed.
- Closing the popup dialog/notification creates a respective cookie that expires either in 2 weeks or at February 1, 2019 - whichever is earlier.

- The popup dialog and notification are not shown if they were closed (a cookie is set) or February 1, 2019 has passed.

- !IMPORTANT: The message should only be shown on UCS Core Editions and demo.univention.de
Comment 1 Florian Best univentionstaff 2019-11-21 17:05:17 CET
univention-management-console.yaml
c874b19f8b98 | YAML Bug #50530

univention-management-console (11.0.4-47)
b6289d87e6c0 | Bug #50530: Show Univention Summit 2020 pop up
Comment 2 Johannes Keiser univentionstaff 2019-11-25 11:17:20 CET
> A message for the Univention Summit 2019 should be shown in the UMC
> - The first message shown is a popup dialog.
OK

> - If the popup dialog is not shown then a notification is shown.
OK

> - The popup dialog and/or notification are not shown if a respective cookie
> is set or February 1, 2019, has passed.
OK (January 24, 2020)

> - Closing the popup dialog/notification creates a respective cookie that
> expires either in 2 weeks or at February 1, 2019 - whichever is earlier.
OK (January 24, 2020)

> - The popup dialog and notification are not shown if they were closed (a
> cookie is set) or February 1, 2019 has passed.
OK (January 24, 2020)
 
> - !IMPORTANT: The message should only be shown on UCS Core Editions and
> demo.univention.de
OK

OK text and visuals
OK yaml
-> verified
Comment 3 Felix Botner univentionstaff 2019-11-26 13:42:34 CET
86_selenium.135_upload_license fails, could this be a problem with this change?
Comment 4 Florian Best univentionstaff 2019-11-26 13:52:59 CET
(In reply to Felix Botner from comment #3)
> 86_selenium.135_upload_license fails, could this be a problem with this
> change?

[2019-11-26 05:14:15.558379] Traceback (most recent call last):
[2019-11-26 05:14:15.558477]   File "135_upload_license", line 211, in <module>
[2019-11-26 05:14:15.558580]     umc_tester.test_umc()
[2019-11-26 05:14:15.558621]   File "135_upload_license", line 200, in test_umc
[2019-11-26 05:14:15.558706]     self.run_test()
[2019-11-26 05:14:15.558743]   File "135_upload_license", line 128, in run_test
[2019-11-26 05:14:15.558818]     self.upload_license('FreeForPersonalUseTest.license', as_text=True)
[2019-11-26 05:14:15.558853]   File "135_upload_license", line 95, in upload_license
[2019-11-26 05:14:15.558917]     licenseText.send_keys(s)
[2019-11-26 05:14:15.558953]   File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 352, in send_keys
[2019-11-26 05:14:15.559429]     'value': keys_to_typing(value)})
[2019-11-26 05:14:15.559451]   File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webelement.py", line 501, in _execute
[2019-11-26 05:14:15.559523]     return self._parent.execute(command, params)
[2019-11-26 05:14:15.559537]   File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 308, in execute
[2019-11-26 05:14:15.559695]     self.error_handler.check_response(response)
[2019-11-26 05:14:15.559710]   File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 194, in check_response
[2019-11-26 05:14:15.561910]     raise exception_class(message, screen, stacktrace)
[2019-11-26 05:14:15.561933] selenium.common.exceptions.WebDriverException: Message: unknown error: cannot focus element
Comment 5 Florian Best univentionstaff 2019-11-26 14:00:22 CET
ucs-test (9.0.3-115)
fbcf9d75ecf1 | Bug #50530: adjust selenium test for summit banner
Comment 6 Johannes Keiser univentionstaff 2019-11-26 14:33:19 CET
(In reply to Florian Best from comment #5)
> ucs-test (9.0.3-115)
> fbcf9d75ecf1 | Bug #50530: adjust selenium test for summit banner

OK set cookie to hide summit notifications before login
Comment 7 Arvid Requate univentionstaff 2019-11-27 14:20:13 CET
<http://errata.software-univention.de/ucs/4.4/377.html>