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

Incorrect module names in the blog menu block

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3, 2.3.1
    • Fix Version/s: 2.2.5, 2.3.2
    • Component/s: Blocks, Blog
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to course A in which you are a Teacher, and turn on editing.
      2. Add assignment activity
      3. Go to assignment activity and add Blog Menu block
      4. Verify the string and make sure x is proper module name and not folder name(View all entries about this x", "View my entries about this x" and "Add an entry about this x", where x is the name of the module.)
      5. Also add "Recent blog entries" block and verify string is fine.
      6. Add "menu block and recent blog entries" on course page and make sure string is fine and module is in lower case.
      Show
      Go to course A in which you are a Teacher, and turn on editing. Add assignment activity Go to assignment activity and add Blog Menu block Verify the string and make sure x is proper module name and not folder name(View all entries about this x", "View my entries about this x" and "Add an entry about this x", where x is the name of the module.) Also add "Recent blog entries" block and verify string is fine. Add "menu block and recent blog entries" on course page and make sure string is fine and module is in lower case.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_22_STABLE, MOODLE_23_STABLE
    • Pull Master Branch:
      wip-mdl-34148

      Description

      When the blog menu block is displayed alongside a module, it will display three links: "View all entries about this x", "View my entries about this x" and "Add an entry about this x", where x is the name of the module.
      The problem is that the block uses the modules folder name, which works in most cases. However it does not work for modules that doesn't have the same name as the folder (for example: assign -> assignment and data -> database), meaning that the block displays the link "View all entries about this assign".

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

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