Repository navigation
Laimprovements - #1983
Laimprovements#1983sangwinc wants to merge 3 commits into
Conversation
| $data->nodes[(int) $node->name] = $newnode; | ||
| } | ||
|
|
||
| // Choose the first node as Moodle does when it imports and saves a question, |
There was a problem hiding this comment.
@EJMFarrow this PR has some changes to the way the API works, to consolidate API behaviour with that of the main moodle. I'd like us to continue in this direction so the API and moodle are (basically) identical. Could you check the parts of this PR which related to the API please?
There was a problem hiding this comment.
I'm dealing with some of this stuff in iss1967.
I'm thinking we don't want to be checking the graph every time we load the question. In iss1967 I've got different things happening depending on whether we're in the test route and whether a 'moodlestrict' flag has been set in the request.Given this would only get checked in test, there's an additional question of whether we want to apply the Moodle 'fixes' or just show the errors. (I'm currently doing the latter.)
Can discuss how you want to proceed in our meeting but might be better to leave this change to the question loader for now if it's not vital to the rest of the PR. Hopefully I can get iss1967 ready for full review next week.
There was a problem hiding this comment.
No rush with this PR @EJMFarrow. If you have other changes, let's do that first and we can refactor here as needed before accepting this PR.
No description provided.