-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Actor format is incorrect for 'received grade for' event #133
Comments
Hi @dasu2013, thanks for reporting your issue. |
Here's the relevant bits of code: The solution is to use this function in the emitter instead of building the actor directly: https://github.com/LearningLocker/xAPI-Recipe-Emitter/blob/master/src/Events/Event.php#L38-L53 |
Gotta love fixes that actually reduce lines of code. |
Hi Andrew, Thanks for this reply. The problem is $opts array doesn't have graded_user's email. It has only graded_user_id, graded_user_url and graded_user_name. There is no 'graded_user_email'. Therefore this proposed solution didn't work. |
Solution for this is AND Add user email address into this array, |
Thanks @dasu2013 👍 |
This was merged with #139 |
Description
"actor": {
"account": {
"homePage": "https://example.com",
"name": "12345"
},
"name": "Ann Smith",
"objectType": "Agent"
}
Expected actor format is,
"actor": {
"mbox": "mailto:12345@example.com",
"name": " Ann Smith",
"objectType": "Agent"
}
The text was updated successfully, but these errors were encountered: