I have been using Aiken import more often these days for bulk importing multichoice questions and getting landed up in a mess when the file is not strictly as per the format. Example being a multi-line question will take the second line of the question as an option and what ever below that question gets screwed up and it messes up the entries. "option-DOT-space" is another place where people often miss and it again creates a failed import when someone fails to notice the one incorrect instance in the file.

Can we have a validation logic which validates the imported file for these basic mistakes before actually importing the questions ?

I am sure even other formats will have some constraints which needs to be validated before import to get a successful import.

Comments

srikanthlogic’s picture

turadg’s picture

A validator may be difficult.

What do you think of this:
a new Preview option that shows how the importer parsed the questions and what it would import but doesn't do so until you click Confirm.

srikanthlogic’s picture

Ya, that would solve the pupose too.

falcon’s picture

Project: Quiz » Quiz EI
Version: 6.x-5.x-dev » 6.x-4.0-alpha1
Component: Code - Import/Export » Code