Moodle

Deleted users still appear in the tags page

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 1.9.3
  • Component/s: Tags
  • Labels:
    None
  • Database:
    Any
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_19_STABLE

Description

First tag a user with any random tag and go to that tag page (so you can see the user is assoc. with that tag)

Then delete that user.

If you go back to that tag page you can still see the user even though it's been deleted.

I think the code that will need changing is in the locallib.php tag_print_tagged_users_table function in tag_find_records.

Issue Links

Activity

Hide
Mathieu Petit-Clair added a comment -

A recent commit on MDL-14569 stops this bug from getting worse. Now we need some kind of cleanup to happen to repair this...

Show
Mathieu Petit-Clair added a comment - A recent commit on MDL-14569 stops this bug from getting worse. Now we need some kind of cleanup to happen to repair this...
Hide
Mathieu Petit-Clair added a comment -

The cleanup has been added to tag_cron() some time ago, closing.

Show
Mathieu Petit-Clair added a comment - The cleanup has been added to tag_cron() some time ago, closing.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: