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

Blocknode one is null error while moving around blocks

    XMLWordPrintable

Details

    • MOODLE_26_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • 42806-26
      1. Add a mentees block to a page
      2. Click on configure block.
      3. Change default display region to right and save
      4. Check that the block doesn't have a title and cannot be docked.
      5. Check JS hasn't broken.

    Description

      Am not sure how to replicate this at will, but I was testing blocks, specifically moving around blocks, changing their default display regions etc on my home page, when I noticed the following error:-

      TypeError: blocknode.one(...) is null
      http://ankit.moodle.local/pgmaster/theme/yui_combo.php?rollup/1384150749/mcore.js
      Line 506

      The error is shown only when I enable editing on the page and the configure icon for blocks donot work any more.

      I tried logging out and back in/ purging caches etc, no effect.

      Thanks

      Attachments

        Activity

          People

            samhemelryk Sam Hemelryk
            ankit_frenz Ankit Agarwal
            Ankit Agarwal Ankit Agarwal
            Damyon Wiese Damyon Wiese
            Michael de Raadt Michael de Raadt
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11/Nov/13