Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-69467

H5P attempts not recorded when multiple users have same email address

    XMLWordPrintable

    Details

      Description

      H5P (mod_h5pactivity) posts attempts via the xapi. There it sends the user's email address as an ID. However, Moodle has a setting "allowaccountssameemail" which allows you to have multiple users with the same email address. When this is the case, the xapi just selects the first user with that email address and treats the request as though it came from him.

      This will cause an error when the second user finishes an attempt for a H5P activity: "Statements actor is not the current user"

      When this happens the error is returned by the xapi, but displayed nowhere on the page. I guess this is a different bug or improvement. So I will create a separate issue for it.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              tschroeder Tim Schroeder
              Reporter:
              tschroeder Tim Schroeder
              Peer reviewer:
              Ferran Recio Ferran Recio
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h