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

tele-TASK: Fatal error when creating a new instance on PostgreSQL

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.9.2
    • Fix Version/s: None
    • Component/s: Module: tele-TASK
    • Labels:
      None
    • Plugin Version:
      2015100601
    • Affected Branches:
      MOODLE_29_STABLE

      Description

      Attempting to add a new instance of the module on PostgreSQL sites leads to fatal error:

      Debug info: ERROR: invalid input syntax for integer: ""
      SELECT * FROM mdl_teletask_sections WHERE video_id = $1 ORDER BY time
      [array (
      0 => '',
      )]
      Error code: dmlreadexception
      Stack trace:
      line 443 of /lib/dml/moodle_database.php: dml_read_exception thrown
      line 244 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
      line 764 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
      line 86 of /mod/teletask/mod_form.php: call to pgsql_native_moodle_database->get_records_sql()
      line 195 of /lib/formslib.php: call to mod_teletask_mod_form->definition()
      line 86 of /course/moodleform_mod.php: call to moodleform->moodleform()
      line 255 of /course/modedit.php: call to moodleform_mod->moodleform_mod()
      

        Attachments

          Activity

            People

            Assignee:
            martin.malchow Martin Malchow
            Reporter:
            mudrd8mz David Mudrák (@mudrd8mz)
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: