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

Navigation Block doesn't respect a URL activities settings

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.5, 2.1.2, 2.2
    • Fix Version/s: 2.0.6, 2.1.3
    • Component/s: Navigation
    • Labels:
    • Testing Instructions:
      Hide

      add a URL to the main menu block on the site homepage - set it to automatic.
      Click on the link in the main menu block - make sure it auto redirects to the page and doesn't show an intermediary splash page.
      Go back to Homepage and select the same link but within the site pages area of the Navigation block - make sure the page redirects and doesn't show an intermediary splash page

      Show
      add a URL to the main menu block on the site homepage - set it to automatic. Click on the link in the main menu block - make sure it auto redirects to the page and doesn't show an intermediary splash page. Go back to Homepage and select the same link but within the site pages area of the Navigation block - make sure the page redirects and doesn't show an intermediary splash page
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull Master Branch:
      wip-MDL-29224-master

      Description

      If you add a URL to the main menu block on the site home page a link to that same URL is shown in the Navigation block under site pages.

      Problem is the behavior of this link differs to the one in the main menu block.
      click on link in main menu you are redirected to the page correctly.
      click on the link in navigation block under site pages you are taken to a splash page that displays the url to click on.

      The main menu block has some extra js on the "onclick" event for the url that has the param redirect=1 which is missing in the navigation block.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  1 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    28/Nov/11