Bug 26076 - Auswählen von policies/users/admin-settings in der Navigation ergibt "Internal Server Error"
Auswählen von policies/users/admin-settings in der Navigation ergibt "Interna...
Status: RESOLVED DUPLICATE of bug 26367
Product: UCS
Classification: Unclassified
Component: UMC - Domain management (Generic)
UNSTABLE
Other Linux
: P3 normal (vote)
: ---
Assigned To: UMC maintainers
:
Depends on:
Blocks: 26084 27187
  Show dependency treegraph
 
Reported: 2012-02-09 17:58 CET by Janek Walkenhorst
Modified: 2012-05-21 08:33 CEST (History)
4 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 Janek Walkenhorst univentionstaff 2012-02-09 17:58:56 CET
Wenn man policies/users/admin-settings in der Navigation auswählt, erscheint die Meldung "Internal Server Error".

Eventuell ist dieser Eintrag obsolet?
Comment 1 Florian Best univentionstaff 2012-02-10 09:54:54 CET
Hier der Traceback dazu:

File '/usr/lib/pymodules/python2.6/notifier/threads.py', line 81, 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 841, in _thread
for module, obj in list_objects( container, object_type = object_type ):
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 130, in wrapper_func
ret = func( *args, **kwargs )
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 883, in list_objects
objects.append( ( module, module.get( dn ) ) )
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 130, in wrapper_func
ret = func( *args, **kwargs )
File '/usr/lib/pymodules/python2.6/univention/management/console/modules/udm/udm_ldap.py', line 418, in get
raise UDM_Error( str( e ) )

UDM_Error: 'NoneType' object has no attribute 'object'
Comment 2 Andreas Büsching univentionstaff 2012-02-13 15:00:53 CET
Dieses UDM-Modul gibt es in UCS 3.0 nicht mehr. Man könnte hier entweder den Fehler generisch abfangen und/oder eine Liste der veralteten Module pflegen um eine verständliche Fehlermeldung auszugeben.

Solle es vielleicht auch ein Skript geben mit dem die Objekte entfernt werden können?
Comment 3 Felix Botner univentionstaff 2012-02-29 15:18:44 CET
Diese beiden Objekte 

dn: cn=default-users,cn=admin-settings,cn=users,cn=policies,@%@ldap/base@%@
cn: default-users
objectClass: top
objectClass: univentionPolicy
objectClass: univentionPolicyAdminSettings
objectClass: univentionObject
univentionObjectType: policies/admin_user
univentionAdminListWizards: None
univentionAdminListWebModules: modself
univentionAdminMayOverrideSettings: 0

dn: cn=default-admins,cn=admin-settings,cn=users,cn=policies,@%@ldap/base@%@
objectClass: top
objectClass: univentionPolicy
objectClass: univentionPolicyAdminSettings
objectClass: univentionObject
univentionObjectType: policies/admin_user
univentionAdminMayOverrideSettings: 1
cn: default-admins
emptyAttributes: univentionAdminListWizards
emptyAttributes: univentionAdminListWebModules

werden noch über das ucs/management/univention-ldap/base.ldif angelegt. Die sollten vermutlich auch entfernt werden.
Comment 4 Alexander Kläser univentionstaff 2012-03-30 12:03:33 CEST
Sollte mittlerweile behoben sein, bei einem aktualisierten System tritt der Fehler nicht mehr auf.

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