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

Link to blogs appears even when blogs not enabled

XMLWordPrintable

    • MOODLE_26_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • master_MDL-43218
    • Hide
      1. Click Site Admin > Advanced Features
      2. Uncheck "Enable Blogs"
      3. Create a course
      4. Enrol the admin user
      5. Enter the course
      6. Click Navigation > Current Course > Course Name > Participants
      7. Check there is no link to "Course Blogs"
      8. Enable blogs again
      9. Check that admin can see site blogs and student can see course blogs
      10. Force separate groups in the course, enrol student in a group and make sure student can jump to his group's blog in the course only
      Show
      Click Site Admin > Advanced Features Uncheck "Enable Blogs" Create a course Enrol the admin user Enter the course Click Navigation > Current Course > Course Name > Participants Check there is no link to "Course Blogs" Enable blogs again Check that admin can see site blogs and student can see course blogs Force separate groups in the course, enrol student in a group and make sure student can jump to his group's blog in the course only

      Steps to reproduce

      1. Click Site Admin > Advanced Features
      2. Uncheck "Enable Blogs"
      3. Create a course
      4. Enrol the admin user
      5. Enter the course
      6. Click Navigation > Current Course > Course Name > Participants

      What should happen

      There should be no link to "Course blogs"

      What happens

      There is a link to "Course blogs". Clicking it gives an error:

      Blogging is disabled!

      More information about this error

      Debug info:
      Error code: blogdisable
      Stack trace:
      line 463 of /lib/setuplib.php: moodle_exception thrown
      line 38 of /blog/index.php: call to print_error()

            simoncoggins Simon Coggins
            simoncoggins Simon Coggins
            Jason Fowler Jason Fowler
            Sam Hemelryk Sam Hemelryk
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.