Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-71606

Workshop/Submissions - Form doesn't check title field for only whitespace

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.10.4
    • Workshop
    • MOODLE_310_STABLE
    • Hide

      Testing

      Set up

      1. Login as teacher
      2. Create a workshop, configure it and move to the "Submission phase"

      Testing instructions

      • Login as student
      • Access to the workshop
      • Try to create a submission with a title with only whitespace (eg. one space character)
        • CHECK submission is not saved because an "Titel must not be empty" message appears below title
      • Modify the title with some non-whitespace characters
        • CHECK submission is sent correctly
      Show
      Testing Set up Login as teacher Create a workshop, configure it and move to the "Submission phase" Testing instructions Login as student Access to the workshop Try to create a submission with a title with only whitespace (eg. one space character) CHECK submission is not saved because an "Titel must not be empty" message appears below title Modify the title with some non-whitespace characters CHECK submission is sent correctly

      When creating a new submission, the user is able to enter titles consisting only of whitespace.

      Doing so, a user is not able to click any link to this particular submission in the later "Assessment phase". Links to the submission are rendered as empty a-tags (<a href="..."></a>) making assessment impossible.

      This behaviour can be reproduced on https://sandbox.moodledemo.net/

      Steps to reproduce

      1. Login as teacher
      2. Create a workshop, configure it and move to the "Submission phase"

       

      1. Login as student1
      2. Access the workshop
      3. Create a submission with a title consisting only of whitespace (eg. one space character)

       

      1. Login as teacher
      2. Access the workshop
      3. Allocate Submissions (student2 reviews student1)
      4. Move to the "Assessment phase"

       

      1. Login as student2
      2. Access the workshop
      3. Try to grade the submission from student 1

      Expected Result

      Student2 is able to click the submission.

      Actual Result

      Student2 is not able to click the submission. The link is not visible.

            Unassigned Unassigned
            Daniel Ziegenberg Daniel Ziegenberg
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.