Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1017

Handle deleted users

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1
    • Component/s: Users
    • Labels:
    • Testing Instructions:
      Hide
      1. Create a new user in Moodle and enroll it in your course.
      2. Create the following data:
        • Add a submission to an assignment using that user.
        • Create forum discussion/posts using that user.
        • Add this user as a contact and send him messages.
        • As a teacher, create notes about this user.
      3. In the app, look at all this content so the user is stored.
      4. Delete the user in Moodle.
      5. In the app, check that:
        • You can see forum posts by the user, but there's no link to his profile.
        • You can't see the user in recent discussions/contacts (you might need to pull to refresh).
        • In assignments, check that the user submission is not seen. If it is, go to user profile from there, reload the assign submissions and check that now it is not seen (we cannot tell that the user is deleted unless we go to contacts/forum/profile).
        • Check that you can see the user notes but without a link to their profile. If the note still has the link, go to user profile from there, reload the notes and check that now the link is not there (we cannot tell that the user is deleted unless we go to contacts/forum/profile).
      Show
      Create a new user in Moodle and enroll it in your course. Create the following data: Add a submission to an assignment using that user. Create forum discussion/posts using that user. Add this user as a contact and send him messages. As a teacher, create notes about this user. In the app, look at all this content so the user is stored. Delete the user in Moodle. In the app, check that: You can see forum posts by the user, but there's no link to his profile. You can't see the user in recent discussions/contacts (you might need to pull to refresh). In assignments, check that the user submission is not seen. If it is, go to user profile from there, reload the assign submissions and check that now it is not seen (we cannot tell that the user is deleted unless we go to contacts/forum/profile). Check that you can see the user notes but without a link to their profile. If the note still has the link, go to user profile from there, reload the notes and check that now the link is not there (we cannot tell that the user is deleted unless we go to contacts/forum/profile).
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE

      Description

      Some areas of Moodle (and Web Services) return information about deleted users (id and complete name) so we have to decide what to do with those users. We can display user deleted, or we can just avoid linking those users.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              dpalou Dani Palou
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                28/Aug/15