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

timezone olson.txt import throws DB errors due to incorrect field sizes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • 1.8.4, 1.9, 2.0
    • 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.7, 1.7.1, 1.7.2, 1.8, 1.8.1, 1.8.2
    • General
    • None
    • PostgreSQL
    • MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      mdl_timezone.dst_time and mdl_timezone.std_time are varchar(5) which is too small to store a negative time these fields need to be changed to varchar(6).

      Negative times in lib/timezones.txt have been truncated from -11:00 to -11:0 so importing this file files does not throw an error.

            stronk7 Eloy Lafuente (stronk7)
            matt.clarkson Matt Clarkson
            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.