Bug 37764 - Working groups with alien students have issues
Working groups with alien students have issues
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Classes / Teachers / Workgroup assignment
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 3.2 R2 Errata
Assigned To: Florian Best
Sönke Schwardt-Krummrich
:
Depends on: 34970
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-11 09:28 CET by Florian Best
Modified: 2015-02-27 15:18 CET (History)
0 users

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): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Best univentionstaff 2015-02-11 09:28:07 CET
+++ This bug was initially created as a clone of Bug #34970 +++

Multi Server setup: If you manage working groups on the master, you can choose to add OU1's students to OU2's working group.

This _may_ be useful, e.g. when schools work together to form a "Leistungskurs".

Anyway, opening this working group on the slave yields

Die Ausführung des Kommandos schoolgroups/get ist fehlgeschlagen:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/__init__.py", line 204, in execute
    func( request )
  File "/usr/lib/pymodules/python2.6/ucsschool/lib/schoolldap.py", line 204, in wrapper_func
    return func( *args, **kwargs )
  File "/usr/lib/pymodules/python2.6/univention/management/console/modules/schoolgroups/__init__.py", line 173, in get
    user.open()
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/users/user.py", line 1424, in open
    self['primaryGroup']=None
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 215, 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.
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2015-02-18 16:28:34 CET
See bug #34970
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2015-02-18 17:28:58 CET
OK: XML changelog entry
Comment 3 Florian Best univentionstaff 2015-02-19 11:15:51 CET
You're right, fixed, package builds.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2015-02-25 17:04:18 CET
OK: debian changelog entry
OK: XML changelog entry
OK: package is built
OK: code change
OK: functional check

Tested with ucs-school-lib 5.0.49-8.171.201502191115
and ucs-school-umc-groups  2.0.5-8.61.201502191120
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2015-02-27 15:18:37 CET
UCS@school 3.2 R2 v3 has been released:
http://docs.univention.de/release-notes-ucsschool-3.2R2v3-de.html

If this error occurs again, please use "Clone This Bug".