Univention Bugzilla – Full Text Bug Listing |
Summary: | Tracebacks are duplicated on UMC-Module initialization | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Richard Ulmer <ulmer> |
Severity: | normal | ||
Priority: | P5 | ||
Version: | UCS 4.2 | ||
Target Milestone: | UCS 4.2-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Development Internal | 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: | 2017042021000831 | Bug group (optional): | Error handling, External feedback |
Max CVSS v3 score: |
Description
Florian Best
2017-04-21 11:20:39 CEST
The generic error handling function is then also not called causing tracebacks instead of human readable error messages. One liner fix. univention-management-console.yaml: r79129 | YAML Bug #44428 univention-management-console (9.0.80-8): r79128 | Bug #44428: fix tracebacks during module initialization Very fast way to reproduce this is opening the UDM module with this patch: diff --git a/management/univention-management-console/src/univention/management/console/protocol/modserver.py b/management/univention-management-console/src/univention/management/console/protocol/modserver.py index 8f6e7fb..523a59b 100644 --- a/management/univention-management-console/src/univention/management/console/protocol/modserver.py +++ b/management/univention-management-console/src/univention/management/console/protocol/modserver.py @@ -269,7 +269,7 @@ def handle(self, msg): » » » » elif key == 'credentials': » » » » » self.__username = value['username'] » » » » » self.__user_dn = value['user_dn'] -» » » » » self.__password = value['password'] +» » » » » self.__password = value['password'] + '1' » » » » » self.__auth_type = value.get('auth_type') » » » » » self.__handler.username = self.__username » » » » » self.__handler.user_dn = self.__user_dn I replicated the behavior as described in Comment #3 and was able to reproduce it. I saw the same traceback multiple times in one error message. When I upgraded univention-management-console I only saw one traceback per error message, but got multiple identical error messages. (In reply to Richard Ulmer from comment #4) > I replicated the behavior as described in Comment #3 and was able to > reproduce it. I saw the same traceback multiple times in one error message. > > When I upgraded univention-management-console I only saw one traceback per > error message, but got multiple identical error messages. This is no regression compared to UCS 4.1 and happens because if you open e.g. the UDM module multiple requests are done. They are all failing and displayed accordingly. We might can fix this during cleanup of the error messages in Bug #38204 but not now. @ Comment #5: Ok. -> Verified |