issues
search
rwth-acis
/
moodle-data-proxy
3
stars
1
forks
source link
[BUG] EditingTeacher role wrong mapping
#29
Closed
BorisJov
closed
3 years ago
BorisJov
commented
3 years ago
Summary
- A bug was reported with a null-pointer exception regarding roles.
Bug Details
What?
- There is a wrong declaration of the (Editing) Teacher role.
Where?
- Inside the alocated Map
here
.
When?/How often?
- Whenever an actor has the "Teacher" role.
How?/Current state
- The moodle-given data references the "editingteacher" role and the proxy is expecting "teacher".
Fixed state
- The map is changed to have "editingteacher" instead of "teacher".
BorisJov
commented
3 years ago
Fixed bug in MoodleUser.ROLE_NAME_TO_ID map