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

Database Presets do not import templates

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.9.1
    • 1.9
    • None
    • Windows Server 2003
      Apache 2.0.59
      PHP 5.2.5
      MySQL 5.0.51a
    • MySQL
    • MOODLE_19_STABLE
    • MOODLE_19_STABLE

      I'm running into an error where the database preset is not importing templates, but it is importing the fields. if I try to import the buzz preset (http://moodle.org/mod/forum/discuss.php?d=84050#p371801 ) with debugging set to all I get the following error:

      Notice: Array to string conversion in C:\Program Files\Apache Group\Apache2\htdocs\Moodle\moodle19\lib\datalib.php on line 28
      Incorrect integer value: '' for column 'notification' at row 1

      It seems that the notification field requires an integer value and will not accept a Null value (like the one being passed). This causes the import to fail (but it actually displays a message saying that the preset was applied successfully)

      I've attached a screenshot of the error.
      I'm seeing this on Moodle 1.9+ (Build 20080410)

            stronk7 Eloy Lafuente (stronk7)
            sbourget Stephen Bourget
            Dongsheng Cai Dongsheng Cai
            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.