Export and Import of question bank

Anything about what happens on the user and teacher side
Post Reply
sachintholia

Export and Import of question bank

Post by sachintholia »

When i export question bank as Gift and re import it generate the fatol error , if anyone can explain

Fatal error: Call to a member function def() on a non-object in /home2/webs/public_html/mywebsite/appLms/modules/quest_bank/quest_bank.php on line 181
User avatar
max
FormaLms Guru
Posts: 2782
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Export and Import of question bank

Post by max »

Hi Sachin,
here's what I did:
- I selected the questions I wanted to export from Quest bank (did you select any? because if not, you are exporting an empty file..)
- I exported them as a GIFT file
- I imported the GIFT file into a new test

everything worked fine. Did I replicate what you did or is there something different?
---------------------
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
sachintholia

Re: Export and Import of question bank

Post by sachintholia »

i created a test in a course then export question as gift. Then i tried importing questions in question bank for other courses. Import in question bank generated the error
User avatar
max
FormaLms Guru
Posts: 2782
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Export and Import of question bank

Post by max »

Hi Sachin,
I tried and I could replicate your error, so it's a bug.
However, it's not a Forma Lms bug: the same behaviour happens in Docebo 405
What I would say to help you before we fix it is that
- if you want to use the question bank, you better insert questions directly in it and then export them
- if you already have many questions you want to recyle elsewhere, you can also use shared objects
---------------------
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
sachintholia

Re: Export and Import of question bank

Post by sachintholia »

Thanks Max,
I was doing the same , my purpose was to report bug so that it can be fixed in coming issues.
Post Reply