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

Tags attached to activities are visible after activity is deleted

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.2
    • 3.2
    • Course, Tags
    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • wip-MDL-56847-master
    • Hide
      1. Enable recycle bin but disable cron for now
      2. Create any activity module and add a tag to it
      3. Create a wiki module, create some pages and add tag to them
      4. Make sure these tags appear in Site pages > Tags and both the module and wiki pages are listed there (click on tag name); check it as admin, and as a student enrolled in the course
      5. Delete both modules
      6. Go to Site pages > Tags , these tags will still be there but clicking on them should not display deleted modules for both admin and a student
      Show
      Enable recycle bin but disable cron for now Create any activity module and add a tag to it Create a wiki module, create some pages and add tag to them Make sure these tags appear in Site pages > Tags and both the module and wiki pages are listed there (click on tag name); check it as admin, and as a student enrolled in the course Delete both modules Go to Site pages > Tags , these tags will still be there but clicking on them should not display deleted modules for both admin and a student

    Description

      Steps to reproduce:

      1. Log in as teacher and go to a course
      2. Edit existing assignment and add few tags
      3. Save and return to course.
      4. Go to Site administration ► Appearance ► Manage tags ► Default collection and ensure tags are visible.
      5. Delete assignment and go to Site administration ► Appearance ► Manage tags ► Default collection
        Tags are still visible and they get deleted only after cron is run.

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              rajeshtaneja Rajesh Taneja
              Dan Poltawski Dan Poltawski
              David Monllaó David Monllaó
              Mark Nelson Mark Nelson
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Raquel Ortega, Sabina Abellan, Sara Arjona (@sarjona), David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/Dec/16