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

guide can generate answersets that generate strange errors in DAT #258

Open
tobiasnteireho opened this issue Nov 16, 2023 · 0 comments
Open

Comments

@tobiasnteireho
Copy link
Contributor

tobiasnteireho commented Nov 16, 2023

It has been observed that in some conditions the viewer can generate answersets that will cause strange errors in the DAT such as

{
    "ok": false,
    "error": "patcher is not a function"
}

and

{
  "ok": false,
  "error": "child \"patches\" fails because [\"patches\" at position 22 fails because [child \"content\" fails because [\"content\" must be a string], child \"type\" fails because [\"type\" must be one of [multiline-text]], child \"type\" fails because [\"type\" must be one of [table-text]], child \"type\" fails because [\"type\" must be one of [checkmark]]]]"
}

This is the viewer counterpart to this issue CCALI/a2jdat#139. Viewer should not be able to generate bad DAT answersets and DAT should not crash on seemingly bad answersets.

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