Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-2164

Shouldn't allow empty fill-in-blank answers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.1
    • Fix Version/s: 2.1.0
    • Labels:
      None
    • Environment:
      WINXP IE

      Description

      It's currently possible to create a fill in the blank question with nothing in the blank, or nothing but spaces. Example:

      Cows go

      {moo}

      and rocks go {}.

      If there's nothing between the brackets, when you modify the saved question the word "null" will appear there and end up as the answer key. If there's one or more spaces between the brackets, those are considered the answer.

      What should happen instead: When you save a FIB question, Samigo should check that there is at least one non-space character between each set of curly braces. If there isn't, the user should get a validation error similar to the unmatched-brackets one, and the question should not be created. How about:

      Answers must contain at least one non-space character.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  marith Margaret Petit (Inactive)
                  Reporter:
                  marith Margaret Petit (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration