Skip to content
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

Invalid requirement citation in error for 005-1-invalid-au? #37

Open
cawerkenthin opened this issue Apr 19, 2022 · 2 comments
Open

Invalid requirement citation in error for 005-1-invalid-au? #37

cawerkenthin opened this issue Apr 19, 2022 · 2 comments

Comments

@cawerkenthin
Copy link

In running AU 005-1-invalid-au, we receive an error citing requirement 9.1.0.0-1 (d). In reviewing the lrs, we accepted two statements, an Initialized (cmi5 defined) and an Experienced (cmi5 allowed). Both were sent by the AU with a statement id. I'm sure I am missing something, but it is hard to find without knowing what requirement fails.

Initialized:
{"id":"0cacc365-ed8d-4735-8000-80c8e9273529","timestamp":"2022-04-19T16:06:05.352Z","actor":{"objectType":"Agent","name":"Boss, Lisa J.","account":{"homePage":"https://www2.vta.com/Demo/LearnerConnection/","name":"27701-4"}},"verb":{"id":"http://adlnet.gov/expapi/verbs/initialized","display":{"en":"initialized"}},"object":{"id":"https://www2.vta.com/Demo/LearnerConnection/AU/13168"},"context":{"contextActivities":{"grouping":[{"objectType":"Activity","id":"https://w3id.org/xapi/cmi5/catapult/lts/au/005-1-invalid-au"}],"other":[{"id":"http://id.tincanapi.com/activity/software/@rusticisoftware/cmi5/3.0.0","definition":{"name":{"und":"@rusticisoftware/cmi5 (3.0.0)"},"description":{"en":"A JavaScript library implementing the cmi5 specification for AUs during runtime."},"type":"http://id.tincanapi.com/activitytype/source"}}],"category":[{"id":"https://w3id.org/xapi/cmi5/context/categories/cmi5"}]},"extensions":{"https://w3id.org/xapi/cmi5/context/extensions/sessionid":"2120"},"registration":"a98aef38-eda7-4985-ad97-780729746029"}}

Experienced:
{"id":"644558eb-67a8-4f33-8d7f-667cfedde421","timestamp":"2022-04-19T16:06:07.360Z","actor":{"objectType":"Agent","name":"Boss, Lisa J.","account":{"homePage":"https://www2.vta.com/Demo/LearnerConnection/","name":"27701-4"}},"verb":{"id":"http://adlnet.gov/expapi/verbs/experienced"},"object":{"id":"https://www2.vta.com/Demo/LearnerConnection/AU/13168"},"context":{"contextActivities":{"grouping":[{"objectType":"Activity","id":"https://w3id.org/xapi/cmi5/catapult/lts/au/005-1-invalid-au"}],"other":[{"id":"http://id.tincanapi.com/activity/software/@rusticisoftware/cmi5/3.0.0","definition":{"name":{"und":"@rusticisoftware/cmi5 (3.0.0)"},"description":{"en":"A JavaScript library implementing the cmi5 specification for AUs during runtime."},"type":"http://id.tincanapi.com/activitytype/source"}}]},"extensions":{"https://w3id.org/xapi/cmi5/context/extensions/sessionid":"2120"},"registration":"a98aef38-eda7-4985-ad97-780729746029"}}

@thomasturrell
Copy link

The AU MUST assign a statement id property in UUID format (as defined in the xAPI specification) for all statements it issues.

Statements were sent without an ID.

I'm not sure why cmi5 requires statements to have an id.

@cawerkenthin
Copy link
Author

The statements were not sent without an ID. The statements I posted in the issue were pulled from the browser where the AU was running, not from the LRS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants