user-utils endpoint: Incorrect required fields

Steps to reproduce

Have a look at the user-utils endpoint docs (POST method):
http://octestallinone.virtuos.uos.de:8080/docs.html?path=/user-utils

Problem:

It states that only username and password are required. If you pass
only these two data fields you will get an 200 but Opencast
internally will cry out with a NullPointerException.

If you want to try it:

curl -i -f --digest -u opencast_system_account:CHANGE_ME \
-H "X-Requested-Auth: Digest"
http://octestallinone.virtuos.uos.de:8080/user-utils/ -F
username=123 -F password=b

This is obviously a bug

Activity

Show:
Tobias Schiebeck
December 7, 2015, 3:17 PM

merged PR 741 commit 4744173 in 2.0.2

Tobias Schiebeck
November 24, 2015, 9:58 AM
Edited

Merged as PR 729 commit 3b7f249 in 2.1

Fixed and reviewed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Lars Kiesow

Reporter

Lars Kiesow

Severity

Incorrectly Functioning With Workaround