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

Forum inline reply does not use formchangechecker

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.8
    • Fix Version/s: 3.8.6, 3.9.3
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      Hide
      1. Login as admin
      2. Open the user menu and select Preferences
      3. Select User Account > Forum preferences
      4. Set Use experimental nested discussion view: Yes and save changes
      5. Create a new course
      6. Click the Announcements forum and add a new topic
      7. Set view mode to Display replies in experimental nested form
      8. Press Reply
      9. Start typing your reply
      10. Press on the link in the breadcrumbs to your new course
      11. Confirm you get a browser dialog stating "This page is asking you to confirm that you want to leave"
      12. Press Stay on page
      13. Press Post
      14. Confirm reply is posted
      15. Repeat steps 8. to 14 with view mode Display replies flat, with oldest first
      Show
      Login as admin Open the user menu and select Preferences Select User Account > Forum preferences Set Use experimental nested discussion view: Yes and save changes Create a new course Click the Announcements forum and add a new topic Set view mode to Display replies in experimental nested form Press Reply Start typing your reply Press on the link in the breadcrumbs to your new course Confirm you get a browser dialog stating "This page is asking you to confirm that you want to leave" Press Stay on page Press Post Confirm reply is posted Repeat steps 8. to 14 with view mode Display replies flat, with oldest first
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE, MOODLE_39_STABLE
    • Pull 3.9 Branch:
    • Pull 3.10 Branch:
      MDL-67654-310
    • Pull Master Branch:

      Description

      Steps to reproduce:

      1. Go to a forum discussion.
      2. Click Reply on a post.
      3. Start typing carefully composed words of wisdom.
      4. Accidentally hit CTRL+W

      Expected result: the familiar pop-up telling you that you have unsaved data. Are you sure you want to navigate away.

      Acutal result: your data is just lost.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pholden Paul Holden
              Reporter:
              timhunt Tim Hunt
              Peer reviewer:
              David Matamoros David Matamoros
              Integrator:
              Andrew Lyons Andrew Lyons
              Tester:
              Janelle Barcega Janelle Barcega
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/Nov/20

                  Time Tracking

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