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

Tags attached to activities are visible after activity is deleted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Component/s: Course, Tags
    • Labels:
    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Pull Master Branch:
      wip-MDL-56847-master

      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

              Assignee:
              marina Marina Glancy
              Reporter:
              rajeshtaneja Rajesh Taneja
              Peer reviewer:
              Dan Poltawski
              Integrator:
              David Monllaó
              Tester:
              Mark Nelson
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                5/Dec/16