Univention Bugzilla – Bug 18784
Traceback beim Auswählen einer Gruppe wenn die Primäre Gruppe eines Benutzers nicht existiert
Last modified: 2015-09-14 17:42:03 CEST
Ticket: 2010062410000639 Gibt es an der Schule einen Benutzer dessen Primäre Gruppe nicht existiert gibt es beim Auswählen einer Gruppe in der Gruppenverwaltung, Lehrer Zuordnung den folgenden Traceback: Ein Python-Fehler ist aufgetreten: Traceback (most recent call last): File "/usr/share/univention-webui/modules/requests.py", line 239, in run_request self.dialog.init(0,xmlout,xmlout.documentElement) File "./unidialog.py", line 75, in init uniconf.init(self,a,b,c) File "/usr/share/univention-webui/modules/uniconf.py", line 183, in init obj.init(input,xmlob,self.find_id(node,obj.id)) File "/usr/share/univention-webui/modules/uniconf.py", line 162, in init self.myinit() File "./modconsole.py", line 270, in myinit self.__process() File "./modconsole.py", line 208, in __process layout = notebook_widget.layout() File "./widget.py", line 92, in layout page_layout = self.pages[ self.selected ].layout() File "./pages/module.py", line 213, in layout self.__dialog = self.__storage.to_uniparts( self.__layout ) File "./mapping/__init__.py", line 58, in to_uniparts return self.__convert_structural( umcp_parts ) File "./mapping/__init__.py", line 77, in __convert_structural ret = layout( type( umcp_part ), self, umcp_part ) File "./mapping/mapper.py", line 63, in layout return _mappers[ type ]( storage, umcp_part ) File "./mapping/structural.py", line 78, in frame_map up = storage.to_uniparts( row ) File "./mapping/__init__.py", line 58, in to_uniparts return self.__convert_structural( umcp_parts ) File "./mapping/__init__.py", line 77, in __convert_structural ret = layout( type( umcp_part ), self, umcp_part ) File "./mapping/mapper.py", line 63, in layout return _mappers[ type ]( storage, umcp_part ) File "./mapping/structural.py", line 78, in frame_map up = storage.to_uniparts( row ) File "./mapping/__init__.py", line 58, in to_uniparts return self.__convert_structural( umcp_parts ) File "./mapping/__init__.py", line 77, in __convert_structural ret = layout( type( umcp_part ), self, umcp_part ) File "./mapping/mapper.py", line 63, in layout return _mappers[ type ]( storage, umcp_part ) File "./mapping/structural.py", line 113, in list_map up = storage.to_uniparts( row ) File "./mapping/__init__.py", line 58, in to_uniparts return self.__convert_structural( umcp_parts ) File "./mapping/__init__.py", line 77, in __convert_structural ret = layout( type( umcp_part ), self, umcp_part ) File "./mapping/mapper.py", line 63, in layout return _mappers[ type ]( storage, umcp_part ) File "./mapping/structural.py", line 53, in rows_map part.append( storage.to_uniparts( elem ) ) File "./mapping/__init__.py", line 56, in to_uniparts return self.__convert_dynamics( umcp_parts ) File "./mapping/__init__.py", line 73, in __convert_dynamics ret = layout( type( umcp_part ), self, umcp_part ) File "./mapping/mapper.py", line 61, in layout return _mappers[ type ].layout( storage, umcp_part ) File "./mapping/dynamics.py", line 434, in layout univention.admin.objects.open( obj ) File "/usr/lib/python2.4/site-packages/univention/admin/objects.py", line 76, in open object.open() File "/usr/lib/python2.4/site-packages/univention/admin/handlers/users/user.py", line 1553, in open self['primaryGroup']=primaryGroup File "/usr/lib/python2.4/site-packages/univention/admin/handlers/__init__.py", line 191, in __setitem__ raise univention.admin.uexceptions.valueRequired, _('The property %s is required') % self.descriptions[key].short_description valueRequired: Die Eigenschaft Primäre Gruppe wird benötigt. Evtl. kann man diese Fall abfangen (auch wenn der generell garnicht zustande kommen "sollte") und die uid des Problematischen Objekts mit ausgeben.
Siehe auch Bug 25174. Das Problem besteht auch noch in UCS@school 3.0.
*** Bug 27382 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 34970 ***