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

Link to blogs appears even when blogs not enabled

    Details

    • Testing Instructions:
      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
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      master_MDL-43218

      Description

      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()

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

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