adlnet / xAPIWrapper

Wrapper to simplify communication to an LRS
https://adlnet.gov/projects/xapi/
Apache License 2.0
219 stars 114 forks source link

empty query #164

Open rschweigert opened 4 years ago

rschweigert commented 4 years ago

If I try to launch the staticContentDemo as logged-in user, I get: got user query is {}

Firefox debugger: Query variable encrypted not found xapiwrapper.min.js:2:30094

Any ideas?

vbhayden commented 4 years ago

Morning,

As there isn't a staticContentDemo in this repo, I'm assuming you mean the demo for the archived adlnet/xapi-launch repo?

That project hasn't been updated in awhile, but is your project using the most recent dist/xapiwrapper.min.js from this repo?

rschweigert commented 4 years ago

Hello vbhayden,

you are right. I meant the xapi-launch-server repo.

I replaced the xapiwrapper.min.js as you suggested. The error message is gone but the query is still empty. And there are no other error messages, that could give me a hint. Maybe I need to replace additional files?

vbhayden commented 4 years ago

I'm not sure, what query are you referring to? Are you trying to get statements from an LRS, or another LRS resource?

rschweigert commented 4 years ago

I try to send statements from an SCO build with the adapt-framework and uploaded to the xapi-launch-server to learning locker. And it seems, the remaining problems are related to adapt. It looks like, the SCO/xapi-launch-server can establish a connection to the LRS (no error messages anymore), but the SCO complains, that it can't send statements to the LRS. Anyway, thank you so far!