Hi everyone,
I was doing some test on Test learning object while I happened to find a bug in importing/exporting Test via GIFT format. I noticed that there was no way to import categorized questions (even if I was using the $CATEGORY modifier) nor to export categorized questions (the resulting GIFT simply didn't have the $CATEGORY modifier, even if it should).
So, please find my patch in the zip file in attachment. The archive is organized in such a manner that you can simply unzip it , copy it and paste it inside the root directory of your formalms project.
Once extracted you will find a file structure like the following:
- applLms/
---->modules/
------>question/
-------->class.question.php
-------->format.gift.php
As you can see only two files are changed. You can easily find the changes inside the code looking for my name inside the code.
Hope this can be helpful to the community!
Bug fix in Importing/Exporting Test in GIFT Format
Bug fix in Importing/Exporting Test in GIFT Format
- Attachments
-
- GIFTformat-catquestions-bugfixed.zip
- (11.51 KiB) Downloaded 341 times
Saluti.
Nicola Laserra
--------------------------------
PHP Developer
Elma Informatica - http://www.elmainformatica.it
Via Vitruvio 38, Milano
Nicola Laserra
--------------------------------
PHP Developer
Elma Informatica - http://www.elmainformatica.it
Via Vitruvio 38, Milano
Re: Bug fix in Importing/Exporting Test in GIFT Format
Hi Nicola,
welcome onboard and thanks for your precious contribution to the community!
Our dev team will take a look at your patch and likely include it in the upcoming new release.
Thanks again!
welcome onboard and thanks for your precious contribution to the community!
Our dev team will take a look at your patch and likely include it in the upcoming new release.
Thanks again!
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Re: Bug fix in Importing/Exporting Test in GIFT Format
Hi Nicola, your patch has been tested and included in the upcoming Forma 1.3
Thanks for your contribution!
Thanks for your contribution!
Re: Bug fix in Importing/Exporting Test in GIFT Format
Hi Alberto,
You are more than welcome, I'm glad I could help.
You are more than welcome, I'm glad I could help.
Saluti.
Nicola Laserra
--------------------------------
PHP Developer
Elma Informatica - http://www.elmainformatica.it
Via Vitruvio 38, Milano
Nicola Laserra
--------------------------------
PHP Developer
Elma Informatica - http://www.elmainformatica.it
Via Vitruvio 38, Milano