Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4743

Use default value of layoutcolumnorientation if not set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5.3, 2.6
    • 2.5.2, 2.6
    • Course format: Topcoll
    • None

      If layoutcolumnorientation is not set properly (course has been restored from Moodle 2.3 or otherwise, in which case it's set to 0 in the DB), use the default value when rendering the course.

      Steps to reproduce the issue:
      1. Have a topcoll course with 2 columns layout in Moodle 2.3.
      2. Backup the course and restore in Moodle 2.5.
      3. View the course and observe it's displayed in 1 column layout. See that in the DB, course_format_options table, the 'layoutcolumnorientation' field value for the course is 0.
      4. Click Edit course settings, do not change anything, just Save.
      5. View the course and observe it's displayed in 2 column layout now.

            gb2048 Gareth J Barnard
            badblock Kirill Astashov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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