Skip to content

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

@tobiasnteireho

Description

@tobiasnteireho

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions