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

When re-calling delete user (if the user has been deleted beforehand), don't show the confirm message again

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      1) Verify that deleting users from admin -> users -> browse list of users work normally. With a confirmation page in the middle.

      2) Follow "FULL STEPs to reproduce" in the description of the issue and confirm that, now, the EXPECTED behavior has become the ACTUAL behavior (some information about the user already deleted is shown - together with debugging info if it's enabled).

      Show
      1) Verify that deleting users from admin -> users -> browse list of users work normally. With a confirmation page in the middle. 2) Follow "FULL STEPs to reproduce" in the description of the issue and confirm that, now, the EXPECTED behavior has become the ACTUAL behavior (some information about the user already deleted is shown - together with debugging info if it's enabled).
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_33_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      FULL STEPS to reproduce

      Delete a user in /admin/user.php by clicking on the cross (do copy the link address to your clipboard),

      then confirm in the dialog "Are you absolutely sure...",

      wait for the user list which now lacks the user you just deleted.

      Call the link address you've got in the clipboard (admin/user.php?delete=XXXX&sesskey=YYYYYYYYYY) again – by inserting it in the browser bar.

      WHAT ACTUALLY HAPPENS
      The confirm dialog is showed again.

      WHAT YOU EXPECTED
      Some information that the user account has already been deleted.

        Attachments

          Activity

            People

            Assignee:
            ak4t0sh Arnaud Trouvé
            Reporter:
            lucaboesch Luca Bösch
            Peer reviewer:
            Luca Bösch
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Damyon Wiese
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/May/17