xAPIWrapper icon indicating copy to clipboard operation
xAPIWrapper copied to clipboard

empty query

Open rschweigert opened this issue 5 years ago • 4 comments

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?

rschweigert avatar Feb 06 '20 09:02 rschweigert

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?

vbhayden avatar Feb 06 '20 14:02 vbhayden

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?

rschweigert avatar Feb 07 '20 08:02 rschweigert

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

vbhayden avatar Feb 07 '20 13:02 vbhayden

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!

rschweigert avatar Feb 10 '20 09:02 rschweigert