Univention Bugzilla – Bug 53906
UMC modules that open other UMC modules are unusable when opened via portal iframe
Last modified: 2021-11-10 17:30:44 CET
Some UMC modules open another UMC module for some tasks, e.g The "Users (schools)" module has a button "Create a new class" that opens the "Classes (schools)" module. In some situations this newly opened module is unclosable and there is no way to navigate back to the initial "Users (schools)" tab/module. This can happen in two ways. - Opening the "Users (schools)" module from the portal (http://fqdn/unvention/umc) -- The portal opens UMC modules in an iframe with the query parameter ?overview=false -- If this parameter is set the UMC does not render the tabs in the header and also does not create a close button in the modules - It can also happen in the 'real' UMC (http://fqdn/univention/management) when the user has only 1 module available. In that case it has the same behaviour as setting the query parameter ?overview=false
Created attachment 10843 [details] screencast example in umc users module
This issue was deemed to be a blocking problem for the UCS@school 5 release. As discussed the fix (for now( is to show the tabs when there is more than 1 tab open. 4764196239 Bug #53906: yaml a6017f590e Bug #53906: yaml 42b4e730b2 Bug #53906: debian changelog 1e4600fc66 Bug #53906: dont show close button on mobile tabs if module not closable 77cccdc304 Bug #53906: show tabs when more than one module is open with ?overview=false
2677a3af4c Bug #53906: yaml 617956c4b7 Bug #53906: yaml 1615fbd35f Bug #53906: debian changelog 2f6b71d969 Bug #53906: adjust behaviour of mobile tabs
Added 18_overview_false.py test. 2f4a1524c0 Bug #53906: debian changelog 5a87f26abc Bug #53906: make 18_overview_false.py executable 3af333f211 Bug #53906: debian changelog 37e76d7b91 Bug #53906: add selenium test Successful build Package: ucs-test Version: 10.0.6-64A~5.0.0.202111020833 Branch: ucs_5.0-0 Scope: errata5.0-0
18_overview_false.py failed :( https://jenkins.knut.univention.de:8181/job/UCS-5.0/job/UCS-5.0-0/job/AutotestJoin/lastCompletedBuild/SambaVersion=no-samba,Systemrolle=master-part-II/testReport/86_selenium/18_overview_false/master090/
(In reply to Jürn Brodersen from comment #7) > 18_overview_false.py failed :( > > https://jenkins.knut.univention.de:8181/job/UCS-5.0/job/UCS-5.0-0/job/ > AutotestJoin/lastCompletedBuild/SambaVersion=no-samba,Systemrolle=master- > part-II/testReport/86_selenium/18_overview_false/master090/ The "Administrator" user was showing a missing property pop up which broke the test. The test now uses a new user and is fixed. I take the liberty to set the bug to resolved again.
What I tested: * changes -> OK * Is tab switching possible? - Create a class from the school users umc module -- Desktop view -> OK -- Mobile view -> OK - Create a policy from the users module -- Desktop view -> OK -- Mobile view -> OK * 86_selenium/18_overview_false -> OK * yaml -> OK -> Verified
<https://errata.software-univention.de/#/?erratum=5.0x151> <https://errata.software-univention.de/#/?erratum=5.0x152>