Bug 43548 - OU-spanning users: "Assign classes" does not work for old teachers
OU-spanning users: "Assign classes" does not work for old teachers
Status: CLOSED DUPLICATE of bug 43230
Product: UCS@school
Classification: Unclassified
Component: UMC - Wizards
UCS@school 4.1 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.2 v4
Assigned To: Florian Best
Daniel Tröder
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-02-15 14:17 CET by Michael Grandjean
Modified: 2017-10-16 21:35 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.206
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments
screenshot of error message (48.20 KB, image/png)
2017-02-15 14:19 CET, Michael Grandjean
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grandjean univentionstaff 2017-02-15 14:17:36 CET
version/version: 4.1
version/patchlevel: 4
version/erratalevel: 389
appcenter/apps/ucsschool/version: 4.1 R2 v9

Problem: for users that were manually added to a second school, the "Assign classes" module shows an error when searching for classes.

Scenario:
User mary has been imported at school A before UCS@school 4.1 R2 with the old import_user tool. Now, mary should be in more than one school (additional school B) and the following steps are done manually:
- add mary to the group "Domain Users B"
- add mary to the group "lehrer-B"
- add school "B" as additional school in the UCS@school tab on the user object

mary is then replicated to school B and can sign in (UMC). 
mary then needs to be assigned to classes in school B.

Log in to the UMC of school B(!) as Administrator → open module "Assign classes" → select mary → click "Add" → click the search button → an error message is shown that says:

> An error occurred
> 
> Internal server error: The service is temporarily not available.
> 
> Server error message:
> 
> The request did not specify any school. You have to create a school before continuing. Use the "Schools" UMC module to create one.

The school exists, but obviously the request is still missing something?

Note: This works just fine, if the user was imported with the new import-tool that came with UCS@school 4.1 R2 and both schools were specified in the CSV file.
Comment 1 Michael Grandjean univentionstaff 2017-02-15 14:19:32 CET
Created attachment 8426 [details]
screenshot of error message
Comment 2 Florian Best univentionstaff 2017-02-15 14:44:30 CET

*** This bug has been marked as a duplicate of bug 43230 ***
Comment 3 Daniel Tröder univentionstaff 2017-09-26 13:49:10 CEST
ACK: is duplicate
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2017-10-16 21:35:42 CEST
UCS@school 4.2 v4 has been released.

http://docs.software-univention.de/changelog-ucsschool-4.2v4-de.html

If this error occurs again, please clone this bug.