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

Blog pages should be in site context always

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.5
    • Component/s: Blocks, Blog
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide

      Test Requirements
      Enable blogs
      Test 1
      Add a block to the following pages:-

      1. Site blog listing page
      2. Site blog view page
      3. Site blog edit page
      1. Course blog listing page
      2. Course blog view page
      3. Course blog edit page
      1. User blog listing page
      2. User blog view page
      3. USer blog edit page
      1. Activity blog listing page
      2. Activity blog view page
      3. Activity blog edit page
      1. Blog Preferences page

      For each of the above visit around the site and make sure they are visible in the type of pages they were created in.(Everything now is in sitecontext, so block created in a listing page will be visible through out the site, same with other types)

      Test 2
      Edit all above blocks and make sure they all are created in system context
      Change the page type where they appear and browse around to make sure it is effective

      Test 3
      This needs a mandatory regression testing session with various blog related administration , as well as blog related permission. Please make sure 'moodle/blog:associatemodule' and 'moodle/blog:associatecourse' donot effect anything in blogs.

      Test 4
      Make sure you can access blog rss feeds whenever you can access the blogs

      Test 5
      In a fresh install make sure 'moodle/blog:associatemodule' and 'moodle/blog:associatecourse' is not given to any role . Also make sure those caps mention that they are deprecated in the "define role permissions"(Home ► Site administration ► Users ► Permissions ► Define roles>edit) page.

      Show
      Test Requirements Enable blogs Test 1 Add a block to the following pages:- Site blog listing page Site blog view page Site blog edit page Course blog listing page Course blog view page Course blog edit page User blog listing page User blog view page USer blog edit page Activity blog listing page Activity blog view page Activity blog edit page Blog Preferences page For each of the above visit around the site and make sure they are visible in the type of pages they were created in.(Everything now is in sitecontext, so block created in a listing page will be visible through out the site, same with other types) Test 2 Edit all above blocks and make sure they all are created in system context Change the page type where they appear and browse around to make sure it is effective Test 3 This needs a mandatory regression testing session with various blog related administration , as well as blog related permission. Please make sure 'moodle/blog:associatemodule' and 'moodle/blog:associatecourse' donot effect anything in blogs. Test 4 Make sure you can access blog rss feeds whenever you can access the blogs Test 5 In a fresh install make sure 'moodle/blog:associatemodule' and 'moodle/blog:associatecourse' is not given to any role . Also make sure those caps mention that they are deprecated in the "define role permissions"(Home ► Site administration ► Users ► Permissions ► Define roles>edit) page.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-27814-master

      Description

      Add a block to your blog (Navigation -> site pages -> blogs). Edit the block's settings and select "blog editing pages" from the page contexts drop down. hit save and where did the block go? I'm guessing it should now only appear on the edit blog post page. It doesnt seem to appear anywhere. Its just gone.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

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