Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6015

Guests can view Checklist block with links to activity, which shows an error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Package: Checklist
    • Labels:
      None
    • Affected Branches:
      MOODLE_30_STABLE

      Description

      The Checklist set is generally looking good.

      I noticed when I was logged in as a guest that the Checklist block still shows with some content.

      I suggest that guests should not see the block content at all (easy to set the block content to noghting), which will hide the block. Alternately a prompt suggesting the user logs in could be shown, but that would be incosistent with other block behaviour.

      I also noticed that when you click on the bar in the Checklist block that it takes you to the activity (as does clicking the activity link). When viewing the activity, an error is shown.

      get_referer() is deprecated. Please use get_local_referer() instead.
      line 2372 of /lib/deprecatedlib.php: call to debugging()
      line 533 of /mod/checklist/locallib.php: call to get_referer()
      line 65 of /mod/checklist/view.php: call to checklist_class->view()
      

      That seems unrelated, but something I thought you might want to know about.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: