adapt-security / adapt-authoring

A server-based user interface for authoring eLearning courses using the Adapt framework.
http://adaptlearning.org
10 stars 5 forks source link

Unable to import source #516

Closed memeteli closed 2 years ago

memeteli commented 2 years ago

By importing source, we get:

image

taylortom commented 2 years ago
2022-04-12T12:40:42.667Z error server {}
2022-04-12T12:40:42.660Z error adaptframework failed to import course, TypeError: Cannot read properties of undefined (reading '_type')
2022-04-12T12:40:42.509Z error adaptframework {"code":"MISSING_SCHEMA_NAME","statusCode":400,"meta":{"description":"Schema name is not defined"}}
taylortom commented 2 years ago

Was this an export from the authoring tool itself, or a framework course?

taylortom commented 2 years ago

This should now be fixed!

memeteli commented 2 years ago

It works, but I got 2022-04-19T13:14:52.612Z error courseassets Failed to insert courseasset document, TypeError: Cannot read properties of undefined (reading 'toString') on console.

taylortom commented 2 years ago

I'm not able to replicate the courseassets error now, I think it may have been fixed in the framework module. Can you try:

memeteli commented 2 years ago

I think it is fixed now 👍