Details

    • Type: Sub-Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed and reviewed
    • Affects versions: 2.0.1, 2.1.0
    • Fix versions: 2.0.2, 2.1.0
    • Components: RESTful Interfaces
    • Severity:
      Incorrectly Functioning With Workaround
    • Steps to reproduce:
      Hide
      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
      Show
      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

      TestRail: Results

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                lkiesow Lars Kiesow
                Reporter:
                lkiesow Lars Kiesow
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  TestRail: Cases