-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test: export options #8207
Test: export options #8207
Conversation
I left some comments. There was one error that occurred as I checked out the code. Code looks good and works (in case someone comments out the numerous bugs currently in trunk) @kergomard If you don't see any issues, this can be merged Best @fhelfer |
Please don't yet. There will be a rather biggish PR that also changes things in Exports, so maybe it works afterwards, maybe it doesn't and it will most probably need rebasing. |
Thank you for the pr @chlulei ! If I'm getting this right, we need this to make the exports work again in ILIAS 10. As we did quite some restructuring in exports, could you please check, what we still need and update the pr accordingly? I will then review swiftly. Thanks and best, |
… from export tab. Removed test question pool export option (excel) from export tab. Fixed file paths of test archive export option. Removed corresponding code from gui classes.
Hi @kergomard, I was able to test the changes in the Test export tab, but not in the export tab of the TestQuestionPool due to an unrelated error. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much @chlulei !
There are still conflicts, could you please resolve them?
Then:
- I don't think we need this new class property, right?
- I think this here is wrong, too. We do not have a questionpool-specific ExportGUI anymore.
This is just a question: - Does every object-type need to implement an ExportOption, even if it is only just the default xml-export?
Thanks again and best,
@kergomard
…ilquestionpoolexportgui' to 'ilexportgui' in ilObjQuestionPoolGUI.
@kergomard, No, this is only the case for Test and TestQuestionPool. Both components do not return a xml representation with |
Thank you very much for your explanation @chlulei ! We can hopefully get rid of this soon, then! This, I will squash and merge. Thanks again and have a good weekend, |
This PR reimplements the non standard export options of Test and TestQuestionPool to conform with the new export infrastructure. This also includes changes to the
ilTestExportGUI
andilObjQuestionPoolGUI
. For details see the documentation.The class
ilTestExportTableGUI
is no longer in use, instead the Test export tab uses the Export's standard implementation with a new KS DataTable.The export options for Test are "ARC", "XML", "XMLResults", "Plugin", and for TestQuestionPool "XML" and "XLSX". The implementation is a bit more involved because of file handling, but mainly consists of reshuffled previously existing code. An exception to this is the export option "Plugin" for Test. It is no longer possible to dynamically adapt the available export options according to what plugins are installed, so the export process now has a second step where the plugin is selected.