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

An editing teacher can't edit their private reply in a single discussion forum

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.7
    • Fix Version/s: 3.7
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a Single Simple Discussion Forum
      2. Reply to its first post
      3. Private reply to the reply
        1. Confirm that you can edit them all
      4. Login as a non-editing teacher
        1. Confirm that you can only edit the replies
        2. Confirm that you cannot edit the first post
      5. Remove the 'editanyposts' capability from the non-editing teacher
        1. Confirm that you cannot edit any post
      6. Reply to the discussion
        1. Confirm that you can edit your post whilst you are within the maxeditingtime
      7. Reduce the maxeditingtime to 1 minute
      8. Wait for the minute to elapse
        1. Confirm that you can no longer edit your post
      Show
      Create a Single Simple Discussion Forum Reply to its first post Private reply to the reply Confirm that you can edit them all Login as a non-editing teacher Confirm that you can only edit the replies Confirm that you cannot edit the first post Remove the 'editanyposts' capability from the non-editing teacher Confirm that you cannot edit any post Reply to the discussion Confirm that you can edit your post whilst you are within the maxeditingtime Reduce the maxeditingtime to 1 minute Wait for the minute to elapse Confirm that you can no longer edit your post
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull Master Branch:
      MDL-65569-master

      Description

      As reported by Moien Abadi in MDLQA-13501, an editing teacher cannot edit the private reply that they posted, whereas a non-editing teacher can.

      Steps to reproduce:

      1. Create a single discussion forum (or use https://qa.moodle.net/mod/forum/view.php?id=22 ).
      2. Log in as a student and add a reply.
      3. Log in as the teacher and add a private reply to the student.

      Expected result: You can edit your private reply.

      Actual result: There is no edit link in the private reply that you just posted.

        Attachments

        1. MDL-65564.jpg
          46 kB
          Anna Carissa Sadia
        2. MDL-65569 (2).jpg
          32 kB
          Anna Carissa Sadia
        3. nonediting-teachers-view.png
          86 kB
          Jun Pataleta
        4. nonediting-teachers-view-error.png
          43 kB
          Jun Pataleta
        5. single discussion private reply.png
          85 kB
          Helen Foster
        6. t1s_view.png
          86 kB
          Jun Pataleta

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  20/May/19

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 45 minutes
                  2h 45m