Skip to content
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

Importing Forms Error #63

Closed
Sephster opened this issue Feb 14, 2020 · 4 comments
Closed

Importing Forms Error #63

Sephster opened this issue Feb 14, 2020 · 4 comments

Comments

@Sephster
Copy link
Collaborator

If you try to import a form that does not have any questions associated with it, an error will be produced.

In addition, the errors never display as the function that returns the errors only actually returns a boolean value.

@Sephster
Copy link
Collaborator Author

My initial assertion about the form not having a question was incorrect. This also applies to forms that have questions such as the XML export below:

<?xml version="1.0" ?>
<form>
	<formid>BE097EE5-7F56-5D81-B9A4-59423CB4644F</formid>
	<formname>Test Form</formname>
	<formtype>split100</formtype>
	<question>
		<text>Test Question 1</text>
		<desc><![CDATA[Test Description]]></desc>
	</question>
	<question>
		<text>Test Question 2</text>
		<desc><![CDATA[Test Description]]></desc>
	</question>
</form>

@Sephster
Copy link
Collaborator Author

This error applies when loading a file or pasting a file.

@Sephster
Copy link
Collaborator Author

I suspect this is because split100 forms don't have a range on their exports which is required. Will investigate further

@Sephster
Copy link
Collaborator Author

Fixed in PR #98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant