Univention Bugzilla – Full Text Bug Listing |
Summary: | Adding DNS reverse entry fails with traceback | ||
---|---|---|---|
Product: | UCS | Reporter: | Florian Best <best> |
Component: | UMC - Domain management (Generic) | Assignee: | Lukas Walter <walter> |
Status: | CLOSED FIXED | QA Contact: | Dirk Wiesenthal <wiesenthal> |
Severity: | normal | ||
Priority: | P5 | CC: | gohmann, klaeser, walkenhorst, wiesenthal |
Version: | UCS 3.2 | ||
Target Milestone: | UCS 3.2-2-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
2014-03-04 17:42:46 CET
May be DUPLICATE of Bug#33843. => May be already fixed Fixed through changes made for Bug #33843, hence DUPLICATE. *** This bug has been marked as a duplicate of bug 33843 *** Yes, DUPLICATE, unfortunately there is a bug in the fix of Bug #33843. Sorry for not spotting it in the first place. At least it was broken before and is broken thereafter. So no real regression, just a change in traceback: File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run tmp = self._function() File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in __call__ return self._function( *tmp, **self._kwargs ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/__init__.py", line 385, in _thread module.modify( properties ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 155, in wrapper_func ret = func( *args, **kwargs ) File "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py", line 410, in modify obj.modify() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 345, in modify return self._modify(modify_childs,ignore_license=ignore_license) File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 922, in _modify self._ldap_post_modify() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/computers/windows.py", line 554, in _ldap_post_modify univention.admin.handlers.simpleComputer._ldap_post_modify( self ) File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 1969, in _ldap_post_modify ip = self['ip']['0'] TypeError: list indices must be integers, not str (In reply to Dirk Wiesenthal from comment #3) > Yes, DUPLICATE, unfortunately there is a bug in the fix of Bug #33843. Sorry > for not spotting it in the first place. At least it was broken before and is > broken thereafter. So no real regression, just a change in traceback: > > File "/usr/lib/pymodules/python2.6/notifier/threads.py", line 82, in _run > tmp = self._function() > File "/usr/lib/pymodules/python2.6/notifier/__init__.py", line 104, in > __call__ > return self._function( *tmp, **self._kwargs ) > File > "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/ > __init__.py", line 385, in _thread > module.modify( properties ) > File > "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/ > udm_ldap.py", line 155, in wrapper_func > ret = func( *args, **kwargs ) > File > "/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/ > udm_ldap.py", line 410, in modify > obj.modify() > File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", > line 345, in modify > return self._modify(modify_childs,ignore_license=ignore_license) > File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", > line 922, in _modify > self._ldap_post_modify() > File > "/usr/lib/pymodules/python2.6/univention/admin/handlers/computers/windows. > py", line 554, in _ldap_post_modify > univention.admin.handlers.simpleComputer._ldap_post_modify( self ) > File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", > line 1969, in _ldap_post_modify > ip = self['ip']['0'] > > TypeError: list indices must be integers, not str Weird typo, my bad. As the other bug is already closed and these bugs are way of all about the same issue, this could be published under terms of this bug. svn 51149: univention-directory-manager-modules (9.0.77-2) added to 2014-06-11-univention-directory-manager-modules.yaml Ok Reported again, in function __add_dns_forward_object: File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 1934, in _ldap_post_modify self.__add_dns_forward_object( self[ 'name' ], dn, self[ 'ip' ][ 0 ] ) (In reply to Florian Best from comment #6) > Reported again, in function __add_dns_forward_object: Should be fixed since Errata 109. The report came from Errata 78. Reported again, 3.2-2 errata144 |