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

theme_clean: notice about undefined offset

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.5, 2.6.1
    • 2.5.5, 2.6.2
    • Themes
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-39661-master
    • Hide
      1. Log in as an admin.
      2. Change to the clean theme.
      3. Browse to a course.
      4. Turn editing on.
      5. Move all blocks to the right.
      6. Disable JS in your browser.
      7. Click to move one of the blocks on the right.
      8. Make sure you do not see any notice
        • Inspecting the HTML should show a link accesshide containing either "Move block here" or "Move block to X region".
      Show
      Log in as an admin. Change to the clean theme. Browse to a course. Turn editing on. Move all blocks to the right. Disable JS in your browser. Click to move one of the blocks on the right. Make sure you do not see any notice Inspecting the HTML should show a link accesshide containing either "Move block here" or "Move block to X region".
    • 5
    • FRONTEND Sprint 8

    Description

      Notice: Undefined offset: 0 in /var/www/integration/lib/outputrenderers.php on line 1263
      Call Stack

      1. Time Memory Function Location
        1 0.0007 777816
        Unknown macro: {main}

        ( ) ../view.php:0
        2 1.2397 79233136 core_renderer->header( ) ../view.php:240
        3 1.2487 79298968 core_renderer->render_page_layout( ) ../outputrenderers.php:777
        4 1.2491 79418320 include( '/var/www/integration/theme/clean/layout/general.php' ) ../outputrenderers.php:847
        5 1.5161 80373880 core_renderer->blocks_for_region( ) ../general.php:171
        6 1.5161 80374616 core_renderer->block_move_target( ) ../outputrenderers.php:1245

      To replicate:

      • Disable JS in your browser.
      • Log in as an admin.
      • Change to the clean theme.
      • Browse to a course.
      • Turn editing on.
      • Move all blocks to the right.
      • Click to move one of the blocks on the right.
      • Observe the error.

      Attachments

        Issue Links

          Activity

            People

              fred Frédéric Massart
              samhemelryk Sam Hemelryk
              Sam Hemelryk Sam Hemelryk
              Dan Poltawski Dan Poltawski
              Jérôme Mouneyrac Jérôme Mouneyrac
              Huong Nguyen, Bas Brands, Mathew May
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Mar/14