Bug 48046 - Traceback: IndexError: tuple index out of range
Traceback: IndexError: tuple index out of range
Status: CLOSED DUPLICATE of bug 47910
Product: UCS
Classification: Unclassified
Component: UMC - DNS
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: Johannes Keiser
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-10-23 12:52 CEST by Nico Gulden
Modified: 2019-06-28 12:26 CEST (History)
2 users (show)

See Also:
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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Gulden univentionstaff 2018-10-23 12:52:29 CEST
1) Schritte, um den Fehler zu reproduzieren
in der UMC im Modul DNS/frwdZone nach etwas suchen (z.B. 'sso')
2) erwartetes Ergebnis
ucs-sso eintrag wird angezeigt
3) beobachtetes Ergebnis
Traceback s.u.

- ----------
UCS Version: 4.3-2 errata270 (Neustadt)

Interner Server-Fehler in "udm/query (dns/dns)".
IndexError: tuple index out of range
    return '_{0}._{1}'.format(*old[: 2])
  File
"/usr/lib/pymodules/python2.7/univention/admin/handlers/dns/srv_record.
py", line 114, in mapName
    return map_value(value) if map_value else value
  File "/usr/lib/pymodules/python2.7/univention/admin/mapping.py", line
298, in mapValue
    v = filter.value if dont_map_value else mapping.mapValue(key,
filter.value)
  File "/usr/lib/pymodules/python2.7/univention/admin/mapping.py", line
484, in mapRewrite
    univention.admin.mapping.mapRewrite(filter, mapping,
dont_map_value=dont_map_value)
  File
"/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py",
line 1643, in rewrite_filter
    expression_walk_function(filter, arg)
  File "/usr/lib/pymodules/python2.7/univention/admin/filter.py", line
235, in walk
    walk(e, expression_walk_function, conjunction_walk_function, arg)
  File "/usr/lib/pymodules/python2.7/univention/admin/filter.py", line
230, in walk
    walk(filter_p, rewrite_function, arg=mapping)
  File "/usr/lib/pymodules/python2.7/univention/admin/filter.py", line
82, in append_unmapped_filter_string
    filter_p.append_unmapped_filter_string(filter_s,
cls.rewrite_filter, module.mapping)
  File
"/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py",
line 1602, in lookup_filter
    filter_s = cls.lookup_filter(filter_s, lo)
  File
"/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py",
line 1570, in lookup
    ret += univention.admin.handlers.dns.srv_record.lookup(co, lo,
filter_s, base, superordinate, scope, unique, required, timeout,
sizelimit)
  File
"/usr/lib/pymodules/python2.7/univention/admin/handlers/dns/dns.py",
line 102, in lookup
    result = self.module.lookup(None, ldap_connection, filter_s,
base=container, superordinate=superordinate, scope=scope,
sizelimit=sizelimit)
  File
"/usr/lib/pymodules/python2.7/univention/management/console/modules/udm
/udm_ldap.py", line 486, in search
    result = func(*args, **kwargs)
  File
"/usr/lib/pymodules/python2.7/univention/management/console/ldap.py",
line 143, in _decorated
    return method(*args, **kwargs)
  File
"/usr/lib/pymodules/python2.7/univention/management/console/modules/udm
/udm_ldap.py", line 84, in _decorated
    result = module.search(container, objectProperty,
objectPropertyValue, superordinate, scope=scope, hidden=hidden)
  File
"/usr/lib/pymodules/python2.7/univention/management/console/modules/udm
/__init__.py", line 595, in _thread
    return self._function( *tmp, **self._kwargs )
  File "/usr/lib/pymodules/python2.7/notifier/__init__.py", line 104,
in __call__
    tmp = self._function()
  File "/usr/lib/pymodules/python2.7/notifier/threads.py", line 78, in
_run

Request: udm/query (dns/dns)
Interner Server-Fehler in "udm/query (dns/dns)".
Comment 1 Johannes Keiser univentionstaff 2018-10-23 13:11:52 CEST

*** This bug has been marked as a duplicate of bug 47910 ***