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

upgradesettings gets stuck for recent 1.9

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.9, 2.0
    • Component/s: Roles / Access
    • Labels:
      None
    • Database:
      PostgreSQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      New settings - Course request

      I get stuck on this page, which should draw a drop menu of course categories to select from, but doesn't. The reason it doesn't is that the Miscellaneous category has no matching context, and the sql used to generate the category list joins on mdl_context:

      SELECT cc.*, ctx.id AS ctxid, ctx.path AS ctxpath, ctx.depth AS ctxdepth, ctx.contextlevel AS ctxlevel FROM mdl_course_categories cc JOIN mdl_context ctx ON cc.id=ctx.instanceid AND ctx.contextlevel=40 ORDER BY cc.sortorder ASC

      I can't seem to generate the context for this except by visiting http://moodlesite/course/category.php?id=1 directly

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mjollnir Penny Leach
                Reporter:
                mjollnir Penny Leach
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  3/Mar/08