Bug 18784 - Traceback beim Auswählen einer Gruppe wenn die Primäre Gruppe eines Benutzers nicht existiert
Traceback beim Auswählen einer Gruppe wenn die Primäre Gruppe eines Benutzers...
Status: RESOLVED DUPLICATE of bug 34970
Product: UCS@school
Classification: Unclassified
Component: UMC - Classes / Teachers / Workgroup assignment
UCS@school 3.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
: 27382 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-24 17:01 CEST by Janis Meybohm
Modified: 2015-09-14 17:42 CEST (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 Janis Meybohm univentionstaff 2010-06-24 17:01:57 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.
Comment 1 Alexander Kläser univentionstaff 2012-06-01 16:08:30 CEST
Siehe auch Bug 25174. Das Problem besteht auch noch in UCS@school 3.0.
Comment 2 Alexander Kläser univentionstaff 2012-06-01 16:08:52 CEST
*** Bug 27382 has been marked as a duplicate of this bug. ***
Comment 3 Florian Best univentionstaff 2015-09-14 17:42:03 CEST

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