Bug 23780 - UMC-UDM: Das Objekt _gc._tcp.Default-First-Site-Name._sites wird falsch dargestellt
UMC-UDM: Das Objekt _gc._tcp.Default-First-Site-Name._sites wird falsch darge...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.0 - RC
Assigned To: Andreas Büsching
Stefan Gohmann
: interim-2
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-22 19:47 CEST by Alexander Kläser
Modified: 2011-12-13 15:50 CET (History)
3 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 Alexander Kläser univentionstaff 2011-09-22 19:47:54 CEST
Beim Bearbeiten des untenstehenden Objektes (in der Forward Lookup Zone) wird in der Detailansicht der Name nicht korrekt dargestellt:

qa.univention:/dns/univention.qa/_gc._tcp.Default-First-Site-Name._sites
Comment 1 Andreas Büsching univentionstaff 2011-10-05 08:59:30 CEST
(In reply to comment #0)
> Beim Bearbeiten des untenstehenden Objektes (in der Forward Lookup Zone) wird
> in der Detailansicht der Name nicht korrekt dargestellt:
> 
> qa.univention:/dns/univention.qa/_gc._tcp.Default-First-Site-Name._sites

Im Reiter wird nur tcp als Namen angezeigt. Das liegt vermutlich an der complex-Syntax vom Namen-Attribut
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2011-10-29 22:58:11 CEST
Die letzte Änderung führte zu folgendem Traceback beim Joinen:

Configure 10univention-ldap-server.inst
Adding SRV record "ldap tcp 0 100 7389 mas65.nstx.de." to zone nstx.de...
Traceback (most recent call last):
  File "/usr/share/univention-admin-tools/univention-dnsedit", line 380, in <module>
    add_srv_record(nargs)
  File "/usr/share/univention-admin-tools/univention-dnsedit", line 214, in add_srv_record
    records=univention.admin.handlers.dns.srv_record.lookup(co, lo, filter, scope='domain', base=position.getDomain(), superordinate=zone, unique=1)
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/dns/srv_record.py", line 180, in lookup
    univention.admin.filter.walk(filter_p, univention.admin.mapping.mapRewrite, arg=mapping)
  File "/usr/lib/pymodules/python2.6/univention/admin/filter.py", line 206, in walk
    expression_walk_function(filter, arg)
  File "/usr/lib/pymodules/python2.6/univention/admin/mapping.py", line 184, in mapRewrite
    v=mapping.mapValue(filter.variable, filter.value)
  File "/usr/lib/pymodules/python2.6/univention/admin/mapping.py", line 112, in mapValue
    res=self._map[map_name][1](value)
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/dns/srv_record.py", line 107, in mapName
    return '_%s._%s' % old[ : 2 ]
TypeError: not enough arguments for format string
Comment 3 Andreas Büsching univentionstaff 2011-10-30 11:37:20 CET
(In reply to comment #2)
> Die letzte Änderung führte zu folgendem Traceback beim Joinen:

Das ist jetzt korrigiert.

Bei Modulen mit einer identify-Property, die eine complex-Syntax hat. werden jetzt in dem Tab alle Komponenten der Property angezeigt.
Comment 4 Stefan Gohmann univentionstaff 2011-11-24 07:30:17 CET
Funktioniert.

Dazu sollte es vermutlich einen Changelog Eintrag geben.
Comment 5 Andreas Büsching univentionstaff 2011-11-25 21:40:45 CET
(In reply to comment #4)
> Dazu sollte es vermutlich einen Changelog Eintrag geben.

Ist ergänzt
Comment 6 Stefan Gohmann univentionstaff 2011-11-25 22:48:38 CET
Changelog ist da.
Comment 7 Sönke Schwardt-Krummrich univentionstaff 2011-12-13 15:50:30 CET
UCS 3.0-0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer
neueren Version von UCS erneut auftreten, so sollte dieser Bug dupliziert
werden: "Clone This Bug"