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

Samigo: Whitespaces between IP addresses prevent saving test's settings

    Details

    • 19 status:
      Verified
    • Test Plan:
      Hide
      1. Create an exam in T&Q.
      2. Go to Settings / "Ensure students take exams from specific location" / "Allow only specified IP addresses"
        #Write two ip addresses and leave a whitespace after the first, like this (without quotes):
        • "172.16.15.* "
        • "172.16.16.*"
      3. Try to save the exam. A invalid IP address error is displayed.
      Show
      Create an exam in T&Q. Go to Settings / "Ensure students take exams from specific location" / "Allow only specified IP addresses" #Write two ip addresses and leave a whitespace after the first, like this (without quotes): "172.16.15.* " "172.16.16.*" Try to save the exam. A invalid IP address error is displayed.

      Description

      We have found that whitespaces between ip addresses prevent saving the exam.

      In our university users copy the ip addresses from a web page where ip addresses have a whitespace in the end. When they try to save the test, a generic error about incorrect ip addresses is displayed and sometimes they have a hard time looking for what is failing.

      As ip addresses can't have whitespaces, a simple deletion of any existing whitespace in the string fixes the issue.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                daniel.merino Daniel Merino Echeverría
                Reporter:
                daniel.merino Daniel Merino Echeverría
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code