Closed jmr-ua-pt closed 3 years ago
Hi Joa, when the preconfigured tool doesnt match the tool url, the url get deleted from the field. Can you tell me what is the preconfigured tool data are? (Remove pass/username from the screenshot).
I've asked our admin for the tool data, then I'll report it here. But please notice that the Secure Tool URL was validated in the first screenshot above.
Understood, its just we have added deliberately a block to give superiority to the automatic preconfiguration hence the deletion, but if this is a case to be confirmed, then it needs to be fixed/adjusted. Awaiting your screenshot.
I meant the first screenshot in the bug report (https://github.com/ethz-let/moodle-qtype_lti/issues/1#issue-801720268).
Our admin has just sent me the tool data. Here it is:
Dear João (sorry for the typo in your name)
So:
Ps. the fields should be disabled once you pick a preconfigered tool, hence you might have the outdated code?
Today we were able to try your suggestion:
The question preview worked correctly. Re-editing the question also shows the updated Preconfigured tool, and the same Secure tool URL I had specified.
It seems the problem was with our set up and not a bug in the plugin.
Thank you very much.
We have installed the moodle-qtype-lti plugin on a Moodle service, and we set up a Preconfigured Tool (named "Code Checker") to the LTI Provider https://codecheck.io. However, a curious issue happens when creating questions.
When I (in teacher role) try to create a new "External question", I follow the steps:
But when I try to preview the question, it shows an error: "No assignment ID".
And when I edit the question, I find that the Secure tool URL is empty! (Why?).
I'll be happy to provide more details, if you need.
Workaround
I can manage to create the question if I proceed as follows:
Then the preview works fine.
This works, but it takes much more work.