Uploaded image for project: 'Opencast'
  1. MH-11800

LTI between Opencast and Moodle does not work

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed and reviewed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.2.3, 2.3.0
    • Component/s: Backend Software
    • Labels:
      None
    • Severity:
      Non Functioning
    • Steps to reproduce:
      Hide
      Steps to reproduce:
      1. Configure Opencast for LTI as documented
      2. Configure Moodle as LTI consumer
      3. Trying to display the Opencast content through LTI
       
       Actual Results:
       Server error 500 on the Opencast server
      "HTTP ERROR 500
      Problem accessing /lti. Reason:

          Server Error
      Caused by:
      java.lang.IllegalArgumentException: Cannot pass null or empty values to constructor
      at org.springframework.security.core.userdetails.User.<init>(User.java:99)
      at org.opencastproject.kernel.security.LtiLaunchAuthenticationHandler.createAuthentication(LtiLaunchAuthenticationHandler.java:194)"...
      Details at: https://groups.google.com/a/opencast.org/d/msg/users/ieBgnSAfo1E/tI_YnclrAwAJ
       
       Expected Results:
       Opencast displaying player or episode selection for series
       
       Workaround (if any):
       Change code in org.opencastproject.kernel.security.LtiLaunchAuthenticationHandler:
      - if (StringUtils.isNotBlank(suppliedEid)) {
      + if (suppliedEid != null && !suppliedEid.isEmpty()) {




      Show
      Steps to reproduce: 1. Configure Opencast for LTI as documented 2. Configure Moodle as LTI consumer 3. Trying to display the Opencast content through LTI    Actual Results:  Server error 500 on the Opencast server "HTTP ERROR 500 Problem accessing /lti. Reason:     Server Error Caused by: java.lang.IllegalArgumentException: Cannot pass null or empty values to constructor at org.springframework.security.core.userdetails.User.<init>(User.java:99) at org.opencastproject.kernel.security.LtiLaunchAuthenticationHandler.createAuthentication(LtiLaunchAuthenticationHandler.java:194)"... Details at: https://groups.google.com/a/opencast.org/d/msg/users/ieBgnSAfo1E/tI_YnclrAwAJ    Expected Results:  Opencast displaying player or episode selection for series    Workaround (if any):  Change code in org.opencastproject.kernel.security.LtiLaunchAuthenticationHandler: - if (StringUtils.isNotBlank(suppliedEid)) { + if (suppliedEid != null && !suppliedEid.isEmpty()) {
    • Tags (folksonomy):

      TestRail: Results

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              laudel@uni-leipzig.de Sven Laudel
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                TestRail: Cases