Bug 42461 - Password reset of TeacherStaff users not possible
Password reset of TeacherStaff users not possible
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: UMC - Password reset
UCS@school 4.1 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.1 R2 vXXX
Assigned To: Florian Best
Daniel Tröder
: interim-2
: 42283 (view as bug list)
Depends on:
Blocks: 42692
  Show dependency treegraph
 
Reported: 2016-09-21 16:38 CEST by Sönke Schwardt-Krummrich
Modified: 2017-03-14 15:45 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.457
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

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2016-09-21 16:38:27 CEST
A password reset of TeacherStaff users via the UMC module "Passwords (Teachers)" not possible. They are not shown in the grid. Only Teacher users are shown.

Reason seems to be _users() in schoolldap.py (or cls.get_all()).
Comment 1 Florian Best univentionstaff 2016-10-14 11:47:32 CEST
The module "Lehrer zuordnen" / "Assigning teachers" is also affected.

Fixed in SchoolBaseModule._users().

ucs-school-lib (9.0.25-1):
r73205 | Bug #42461: Also get TeachersAndStaff users when querying for teachers in UMC modules (SchoolBaseModule._users()).

ucs-school-lib.yaml:
r73205 | Bug #42461: Also get TeachersAndStaff users when querying for teachers in UMC modules (SchoolBaseModule._users()).
Comment 2 Daniel Tröder univentionstaff 2016-10-17 13:18:37 CEST
* OK: code change
* OK: manual test in UMC web: TeacherAndStaff appear in all wizards (assign teacher, class, workgroups and password-teacher) on master and edu-slave, logged in as admin and as teacher
* OK: manual runs of tests 04_ucs-school-reset-password-check and 23_password_reset_by_school_admins
Remark: both tests (04 and 23) work for me, but fail on jenkins. There is a separate bug for this (Bug #40527). I enabled 04_ucs-school-reset-password-check for jenkins, to see what's going on.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2016-11-10 16:00:48 CET
UCS@school 4.1 R2 v7 has been released.

http://docs.software-univention.de/changelog-ucsschool-4.1R2v7-de.html

If this error occurs again, please clone this bug.
Comment 4 Florian Best univentionstaff 2016-11-16 13:45:34 CET
*** Bug 19924 has been marked as a duplicate of this bug. ***
Comment 5 Michael Grandjean univentionstaff 2017-03-14 15:45:07 CET
*** Bug 42283 has been marked as a duplicate of this bug. ***