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

Glossary_random block does not list and use global glossaries

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.5, 2.0.2, 2.3.4
    • Fix Version/s: 2.5
    • Component/s: Blocks, Glossary
    • Labels:
    • Testing Instructions:
      Hide
      1. Login as admin
      2. Create glossary in a course and make sure Is this glossary global? is checked.
      3. Add few entries in glossary.
      4. Go to front page and add Random glossary entry block
      5. Configure Random glossary entry block and make sure you can see created glossary name in "Take entries from this glossary"
      6. Save changes to configuration with "Take entries from this glossary" as global glossary.
      7. Check Random glossary block and make sure you can see entries.

      Test 2:

      1. Login as guest and make sure you can see Random global glossary with some entries.
      2. As admin remove 'mod/glossary:view' capability for guest on course level (Course ► Users ► Permissions).
      3. login as guest and make sure you can't see Random glossary entries.

      Test 3:

      1. Log in as admin and hide glossary activity
      2. Go to front page and you should see "(to be continued)" in Random glossary entry block.

      Test 4:

      1. Log in as admin and uncheck Is this glossary global? on glossary
      2. Go to frontpage and you should see "Please configure this block using the edit icon."
      Show
      Login as admin Create glossary in a course and make sure Is this glossary global? is checked. Add few entries in glossary. Go to front page and add Random glossary entry block Configure Random glossary entry block and make sure you can see created glossary name in "Take entries from this glossary" Save changes to configuration with "Take entries from this glossary" as global glossary. Check Random glossary block and make sure you can see entries. Test 2: Login as guest and make sure you can see Random global glossary with some entries. As admin remove 'mod/glossary:view' capability for guest on course level (Course ► Users ► Permissions). login as guest and make sure you can't see Random glossary entries. Test 3: Log in as admin and hide glossary activity Go to front page and you should see "(to be continued)" in Random glossary entry block. Test 4: Log in as admin and uncheck Is this glossary global? on glossary Go to frontpage and you should see "Please configure this block using the edit icon."
    • Affected Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      wip-mdl-20131

      Description

      If a site admin creates a global glossary in a course and then wants to use the glossary_random block to display random entries on the frontpage it is not possible because currently only glossaries of that course are displayed; however, I would expect a global glossary to be visible and usable as well. This issue was raised in http://moodle.org/mod/forum/discuss.php?d=108686 but never responded to. I now have a client that wants to be able to do this so I am looking into it. Peace - Anthony

        Attachments

        1. MDL-20131.patch
          4 kB
          Anthony Borrow
        2. MDL-20131.patch
          2 kB
          Anthony Borrow

          Issue Links

            Activity

              People

              • Votes:
                8 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13