T&A 45579: Automatically opens back exam modal when test password is wrong#10201
T&A 45579: Automatically opens back exam modal when test password is wrong#10201aaronbidzan wants to merge 5 commits intoILIAS-eLearning:release_10from
Conversation
|
Thank you very much @bidzanaaron for the PR! Let me be honest: I don't like this solution at all: We are using internal functions of the launcher that we shouldn't be using and a very bad structure follows from there. We then use Stupid question: Couldn't we simply check the password within a constraint? This would lead to the form being reopened automatically as far as I can see. What am I missing? Best, |
9467c7f to
07ce3ce
Compare
|
Hey @kergomard, I have updated my changes to use constraints. I did not like the original solution either. Putting constraints alone didn't reopen the modal, so I have changed parts of the code in the Inline Launcher. This definitely seems like a better approach than before. Please do let me know how you feel about this solution and if something still needs to be changed. Kind regards, |
|
Thank you very much @bidzanaaron ! This goes into the right direction, even though we are not there yet ;-):
Thanks again and best, |
64c5b86 to
1a2aec3
Compare
|
Hello @kergomard , i was kindly ask to helpt out here. I implemented your requested changes and moved the UI changes to a seperate PR. Best regards |
|
Thanks for the update @matheuszych ! I will check this one when the other PR is through, as we cannot merge it any sooner anyway. Best, |
|
Hi @bidzanaaron Just to have a hint here: Why did you close this? Best, |
|
Hey @kergomard, I thought that everything was moved and not only the UI changes. I apologize for the confusion. Best, |
|
Thank you very much @bidzanaaron ! Do not worry: The day I stop making mistakes I will throw a stone, ...but this day will also be the day I'm not able to throw stones at all anymore. Best, |
1a2aec3 to
7498a5c
Compare
|
Hey @kergomard, the changes from #10323 are now integrated. Do you wanna have another quick look before i proceed merging? Best Regards, |
7498a5c to
72a259f
Compare
https://mantis.ilias.de/view.php?id=45579
This PR aims to resolve the original issue of the wrong language variable being displayed when entering a wrong password on a test.
Per request, an addition has been made to open the modal back up when the password that has been entered is wrong.
The language variable has been changed in recent history and already correctly displays the right message.
Kind regards,
@bidzanaaron