Bug 56424 - Allow more than 15 teachers in a class
Allow more than 15 teachers in a class
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: Apple School Manager
UCS@school 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-08-11 18:20 CEST by Jan-Luca Kiok
Modified: 2024-02-02 11:19 CET (History)
1 user (show)

See Also:
What kind of report is it?: Feature Request
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): API change
Max CVSS v3 score:


Attachments
Presumably affected code (1.03 KB, patch)
2023-08-11 18:20 CEST, Jan-Luca Kiok
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Luca Kiok univentionstaff 2023-08-11 18:20:58 CEST
Created attachment 11105 [details]
Presumably affected code

Apple has recently updated their School Manager API to allow for more than 15 teachers, beforehand this was the limit.
The connector currently includes only up to 15 teachers in the import CSV file and logs this warning instead:

2023-08-10 00:00:41,961 WARNING classes.from_dn:163 - Class 'abc' has more than 15 teachers. Only 15 will be synchronized. This is a limitation of the Apple School Manager service.

I have included a possible quick patch, but it's lacking the new limit as the documentation seems to be outdated still: https://support.apple.com/en-us/guide/apple-school-manager/axm0e48f1bbe/1/web/1