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

user/view.php shows early error for deleted users

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.2
    • None
    • General, Libraries, Usability
    • MOODLE_22_STABLE

    Description

      Since the changes performed by MDL-29602 happened, user contexts are not created anymore for deleted users.

      This leads, since some weeks ago (2.2dev) to the user/view.php page (and perhaps others using the user context too) returning early (red) errors associated with that context not being available.

      The page also contains one special output for deleted changes some lines below, but it is never executed due to the early error.

      More yet, ideally, IMO, we should NOT provide links to the pages of deleted users in practically any place.

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              stronk7 Eloy Lafuente (stronk7)
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona), Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May
              Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: