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

It's possible to see tags of activities that are hidden

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: Book, Forum, Glossary, Tags
    • Labels:
    • Testing Instructions:
      Hide
      Prerequisite.
      1. Ensure tagging is enabled on your course.
      2. Create a course.
      3. Enrol two students.
      Test 1
      1. Create a glossary.
      2. Add an entry with a tag.
      3. Hide the glossary.
      4. Log in as a student and visit the tag index page (currently in Boost you can't without visiting the URL (see MDL-57120)) by going to <yoursite>/tag/index.php.
      5. Confirm you can not see the tag.
      Test 2
      1. Create a glossary with 'Approved by default' set to 'No'.
      2. Log in as a student.
      3. Add an entry with a tag.
      4. Log in as another student.
      5. Visit the tag index page.
      6. Confirm you can not see the tag.
      Test 3
      1. Create a book.
      2. Add a chapter with a tag.
      3. Hide the book.
      4. Log in as a student and visit the tag index page.
      5. Confirm you can not see the tag.
      Test 4
      1. Create a wiki.
      2. Add a wiki entry with a tag.
      3. Hide the wiki.
      4. Log in as a student and visit the tag index page.
      5. Confirm you can not see the tag.
      Show
      Prerequisite. Ensure tagging is enabled on your course. Create a course. Enrol two students. Test 1 Create a glossary. Add an entry with a tag. Hide the glossary. Log in as a student and visit the tag index page (currently in Boost you can't without visiting the URL (see MDL-57120 )) by going to <yoursite>/tag/index.php. Confirm you can not see the tag. Test 2 Create a glossary with 'Approved by default' set to 'No'. Log in as a student. Add an entry with a tag. Log in as another student. Visit the tag index page. Confirm you can not see the tag. Test 3 Create a book. Add a chapter with a tag. Hide the book. Log in as a student and visit the tag index page. Confirm you can not see the tag. Test 4 Create a wiki. Add a wiki entry with a tag. Hide the wiki. Log in as a student and visit the tag index page. Confirm you can not see the tag.
    • Affected Branches:
      MOODLE_33_STABLE

      Description

      This is also the case for entries for a glossary entry that have not been approved.

      Currently you can add a tag to a glossary entry, hide the glossary, then log in as a student and visit tag/index.php and you can see the tag listed there but clicking on it shows "No results for 'XYZ'".

      This will also affect the database in 3.4 due to MDL-57455.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                markn Mark Nelson
                Participants:
                Component watchers:
                David Jones, Adrian Greeve, Mihail Geshoski, Peter Dias, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze, Adrian Greeve, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: