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

MDL-10573 breaks sticky blocks

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9
    • 1.9, 2.0
    • Blocks
    • None
    • moodle 1.9
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      The specific code is in this revision: http://moodle.cvs.sourceforge.net/moodle/moodle/blocks/moodleblock.class.php?r1=1.88&r2=1.89

      get_context_instance(); doesn't work for sticky blocks (MDL-10977).

      The result is that sticky blocks won't show and you'll get an error message like 'Error: could not insert new context level "80", instance "1".'

      Attachments

        Issue Links

          Activity

            People

              skodak Petr Skoda
              trick Alan Trick
              Nobody Nobody
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Sujith Haridasan
              Votes:
              3 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3/Mar/08