Repository navigation
Replies: 1 comment
|
That warning is logged by the legacy-context bridge in Chamilo 3.0.1's LP list. It assigns Could you switch back to the instructor account and capture these requests in DevTools → Network, using the same course and session?
For a 401, check the session/authentication response. For a 403, include the server's error message so we can see which access check rejected it. If creation succeeds but the list requests fail or use a different course context, that narrows the investigation to retrieval. If the responses contain the new item while the page stays empty, inspect the UI's list/merge path. Comparing these same requests as an instructor and administrator will also show where their behavior diverges. The request paths and warning handling are in lpService.js, LpList.vue and the list-loading code. This is based on the 3.0.1 source; the network results from your installation are still needed. |
Uh oh!
There was an error while loading. Please reload this page.
Quite an interesting bug.
Instructors are able to create new courses, build tests, etc., but they cannot create learning path categories or the learning paths themselves. During the creation process, a notification appears indicating that the item has been created (in a green box), but the learning paths section remains empty.
The web browser (developer console) returns the following error:
Unable to expose legacy course context
TypeError: "queryParams" is read-only
Any ideas on how to fix this? For the time being, I have granted the instructors "Administrator" permissions.
The platform is a fresh installation.
All reactions