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

It is possible to create empty notes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.1, 2.9.3
    • Fix Version/s: 2.9.4, 3.0.1
    • Component/s: General
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as admin
      2. Navigate to a course with some participants
      3. Click on Participants
      4. Select some users using the checkboxes next to their names
      5. In the menu below the participants, select "Add a new note"
      6. Add text to some users and not in others
      7. Click save changes
      8. In the participants list, click on the name of one of the previously selected users
      9. In their profile, click Notes
      10. VERIFY: Users sent a blank message should not have a note added
      Show
      Log in as admin Navigate to a course with some participants Click on Participants Select some users using the checkboxes next to their names In the menu below the participants, select "Add a new note" Add text to some users and not in others Click save changes In the participants list, click on the name of one of the previously selected users In their profile, click Notes VERIFY: Users sent a blank message should not have a note added
    • Affected Branches:
      MOODLE_27_STABLE, MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_29_STABLE, MOODLE_30_STABLE
    • Pull Master Branch:
      MDL-47065-master

      Description

      It is possible to create empty notes for users in a course.

      1. Log in as admin
      2. Navigate to a course
      3. Click on Participants
      4. Select some users using the checkboxes next to their names
      5. In the menu below the participants, select "Add a new note"
      6. Add text to some (or none)
      7. Click save changes
      8. In the participants list, click on the name of one of the previously selected users
      9. In the Navigation block, click Notes

      Expected result: Users sent a blank message should not have a note added

      Actual result: A blank note is shown for the user

      Original message...

      As administrator we can create notes, if within our course we go to "Participants/Admin User/Notes", and it is great.

      Also we can create notes, if within our course we go to "Participants/Notes". But, we realized that it is allowed to save empty notes without any message on the "message body" if we choose "Add a new note". And besides, there is any warning message like "All fields are required"

      Also, we realized that it is not allowed to save empty notes without any message on the "message body" if we choose "Add a common note". And besides, there is any warning message like "All fields are required"

      Regards,
      JJ

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                21/Dec/15