Univention Bugzilla – Full Text Bug Listing |
Summary: | Wrong error message "There are no modules available for the currently authenticated user" | ||
---|---|---|---|
Product: | UCS | Reporter: | Daniel Tröder <troeder> |
Component: | UMC (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Johannes Keiser <keiser> |
Severity: | normal | ||
Priority: | P5 | CC: | best, damrose, gohmann, markus.daehlmann, schwardt |
Version: | UCS 4.2 | Keywords: | interim-2 |
Target Milestone: | UCS 4.3 | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 5: Major Usability: Impairs usability in key scenarios |
Who will be affected by this bug?: | 1: Will affect a very few installed domains | How will those affected feel about the bug?: | 3: A User would likely not purchase the product |
User Pain: | 0.086 | Enterprise Customer affected?: | |
School Customer affected?: | Yes | ISV affected?: | |
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 46205, 46998, 46999 | ||
Attachments: | logged in as "student1" |
Description
Daniel Tröder
2017-03-24 13:22:41 CET
Another idea: Maybe the menu could be opened by default in that case? Please attach a screenshot. Created attachment 8641 [details]
logged in as "student1"
This is the error which I also get from time to time with Administrator: dojo.js.uncompressed.js:6483 TypeError: Cannot read property 'get' of undefined(…) "TypeError: Cannot read property 'get' of undefined at _updateQuery (http://10.200.3.120/univention/management/main.js:1352:51) at _setupOverviewPage (http://10.200.3.120/univention/management/main.js:1269:9) at setupGui (http://10.200.3.120/univention/management/main.js:1103:9) at onLoaded (http://10.200.3.120/univention/management/main.js:1065:9) at .<anonymous> (http://10.200.3.120/univention/management/main.js:968:10) at http://10.200.3.120/univention/js/dojo/dojo.js:42:499 at d (http://10.200.3.120/univention/js/dojo/dojo.js:84:297) at k (http://10.200.3.120/univention/js/dojo/dojo.js:84:223) at b.resolve (http://10.200.3.120/univention/js/dojo/dojo.js:86:296) at a (http://10.200.3.120/univention/js/dojo/dojo.js:85:171) ---------------------------------------- rejected at a (http://10.200.3.120/univention/js/dojo/dojo.js:85:197) at d (http://10.200.3.120/univention/js/dojo/dojo.js:84:456) at k (http://10.200.3.120/univention/js/dojo/dojo.js:84:223) at b.resolve (http://10.200.3.120/univention/js/dojo/dojo.js:86:296) at a (http://10.200.3.120/univention/js/dojo/dojo.js:85:171) at d (http://10.200.3.120/univention/js/dojo/dojo.js:84:437) at k (http://10.200.3.120/univention/js/dojo/dojo.js:84:223) at b.resolve (http://10.200.3.120/univention/js/dojo/dojo.js:86:296) at http://10.200.3.120/univention/js/dojo/dojo.js:83:365 at d (http://10.200.3.120/univention/js/dojo/dojo.js:84:297) ---------------------------------------- Error at then.c.then (http://10.200.3.120/univention/js/dojo/dojo.js:87:111) at load (http://10.200.3.120/univention/management/main.js:965:24) at _authenticated (http://10.200.3.120/univention/management/main.js:811:9) at http://10.200.3.120/univention/js/dojo/dojo.js:42:446 at http://10.200.3.120/univention/login/main.js:135:29" In svn r78306 I fixed that at least the pop up is shown again, saying "There are no modules available for the currently authenticated user". Okay, I got the error. This can be reproduced with "pkill -f console-module" while the user is logged in via SAML and a page refresh in chromium via Ctrl-R and disabled caching. Then the /univention/get/meta call is done first which causes a new session to be created in the UMC-Webserver but not as the logged in user but as an anonymous user. An anonymous user has no permissions for any modules thus the error message. I saw this myself in various customer environments. Sönke, you came to me a few weeks ago with the same problem (happened at a specific customter ;-)). I will fix it for UCS 4.3. You can backport if necessary. The fix is simply doing the authentication before sending the request if we detect that a anonymous session already exists. I will give Johannes the QA. changelog-4.3-0.xml a0e3ba7824f4 | Changelog Bug #44068 univention-management-console (10.0.2-1) 62e40c5f285a | Bug #44068: fix required authentication before sending requests to the UMC-Server The original problem from the Bug description is not addressed with this fix. A clone of this bug for the original problem has been created. OK the error from comment #4 and #6 is resolved OK code review -> verified UCS 4.3 has been released: https://docs.software-univention.de/release-notes-4.3-0-en.html https://docs.software-univention.de/release-notes-4.3-0-de.html If this error occurs again, please use "Clone This Bug". |