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

Recent blog entries block: "Entries about this course" link shows entries about other courses

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Blocks, Blog
    • Labels:
    • Database:
      MySQL
    • Testing Instructions:
      Hide
      1. Go to course A in which you are a Teacher, and turn on editing.
      2. Add Blog Menu block to course A
      3. Click Blog Menu > "Add an entry about this course" and add a blog post
      4. Go to course B in which you are also a Teacher, and turn on editing.
      5. Add Blog Menu and Recent Blog Entries blocks to course B
      6. Click Blog Menu > "Add an entry about this course" and add a blog post
      7. Click on Recent Blog Entries > Entries about this Course
      8. Verify that only blog posts associated with course B are listed.

      Test 2:
      Repeat above test for course activity (Write blog for activity and add blog menu and Recent Blog Entries block to activity page and click "View all entries about this

      {Activity}

      ")

      Show
      Go to course A in which you are a Teacher, and turn on editing. Add Blog Menu block to course A Click Blog Menu > "Add an entry about this course" and add a blog post Go to course B in which you are also a Teacher, and turn on editing. Add Blog Menu and Recent Blog Entries blocks to course B Click Blog Menu > "Add an entry about this course" and add a blog post Click on Recent Blog Entries > Entries about this Course Verify that only blog posts associated with course B are listed. Test 2: Repeat above test for course activity (Write blog for activity and add blog menu and Recent Blog Entries block to activity page and click "View all entries about this {Activity} ")
    • Affected Branches:
      MOODLE_21_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-mdl-30798

      Description

      The "recent blog entries" block, when listing recent entries, also displays a link to "entries about this course". However, this link actually shows all entries, about all courses.

      Tested in Moodle 2.1.3 (20111205)

      Steps to reproduce
      ==============
      1. Go to course A in which you are a Teacher, and turn on editing.
      2. Add Blog Menu block to course A
      3. Click Blog Menu > "Add an entry about this course" and add a blog post
      4. Go to course B in which you are also a Teacher, and turn on editing.
      5. Add Blog Menu and Recent Blog Entries blocks to course B
      6. Click Blog Menu > "Add an entry about this course" and add a blog post
      7. Click on Recent Blog Entries > Entries about this Course

      Expected result
      ===========
      Only blog entries associated with course B should be displayed.

      Actual result
      ===========
      All blog entries are shown, including those associated with course A. Any blog posts not associated with a course are also shown.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    10/Sep/12