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

block installation code requires presence of module tables

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 1.5
    • 1.5
    • Installation
    • None
    • All
    • MOODLE_15_STABLE
    • MOODLE_15_STABLE

      There is a problem when doing a clean install of 1.5dev in that the blocks are set up before the module tables are but some of the blocks code apparently requires the existence of some module tables. For example one gets the error messages:

      SELECT * FROM mdl_glossary WHERE id = ''

      Table 'jiscmoodle.mdl_glossary' doesn't exist

      SELECT cm.*, m.name FROM mdl_course_modules cm, mdl_modules md, mdl_glossary m WHERE cm.deleted = '0' AND cm.instance = m.id AND md.name = 'glossary' AND md.id = cm.module AND m.id = ''

            dougiamas Martin Dougiamas
            delius Gustav W Delius
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.