Bug 40797

Summary: Missing error handling in apps/*
Product: UCS Reporter: Florian Best <best>
Component: UMC - App-CenterAssignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Dirk Wiesenthal <wiesenthal>
Severity: normal    
Priority: P5 CC: walkenhorst, wiesenthal
Version: UCS 4.1   
Target Milestone: UCS 4.1-1-errata   
Hardware: Other   
OS: Linux   
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): Error handling, External feedback
Max CVSS v3 score:

Description Florian Best univentionstaff 2016-02-29 12:36:01 CET
Die Ausf&uuml;hrung des Kommandos apps/get ist fehlgeschlagen:

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 283, in execute
    function(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 318, in _response
    result = _multi_response(self, request)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 462, in _response
    return list(function(self, iterator, *nones))
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 284, in _fake_func
    yield function(self, *args)
  File "%PY2.7%/univention/management/console/modules/apps/__init__.py", line 63, in get
    return domain.to_dict([app])[0]
  File "%PY2.7%/univention/appcenter/actions/domain.py", line 94, in to_dict
    lo, pos = self._get_ldap_connection(args=None, allow_machine_connection=True)
  File "%PY2.7%/univention/appcenter/actions/credentials.py", line 176, in _get_ldap_connection
    return self._get_machine_connection()
  File "%PY2.7%/univention/appcenter/actions/credentials.py", line 149, in _get_machine_connection
    raise ConnectionFailedInvalidMachineCredentials('LDAP server does not accept machine password!')
ConnectionFailedInvalidMachineCredentials: LDAP server does not accept machine password!


Remark:
Deinstallation von Zarafa

Version:
4.1-1 errata121 (Vahr)
Comment 1 Florian Best univentionstaff 2016-03-01 14:00:18 CET
univention-appcenter (5.0.20-10):
r67811 | Bug #40804: Bug #40797:

univention-appcenter.yaml:
r67812 | YAML Bug #40797, Bug #40804
Comment 2 Dirk Wiesenthal univentionstaff 2016-03-01 17:01:34 CET
Code: OK
YAML: OK
Comment 3 Janek Walkenhorst univentionstaff 2016-03-02 13:25:46 CET
<http://errata.software-univention.de/ucs/4.1/123.html>