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

Unable to check out strings into the language customization tool

XMLWordPrintable

    • PostgreSQL
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE
    • MDL-27246-cutomlang-version
    • Hide

      1. Go to Site administration > Language > Language customization
      2. TEST: make sure you are able to check out strings into the translator without the reported error (would be nice to test at PostgreSQL where this was reported)

      Show
      1. Go to Site administration > Language > Language customization 2. TEST: make sure you are able to check out strings into the translator without the reported error (would be nice to test at PostgreSQL where this was reported)

      Since commit bb8b29 the version.php started to use decimal number for version. This leads to problems in the customlang report:

      Debug info: ERROR: invalid input syntax for integer: "2011033002.02"
      INSERT INTO mdl_report_customlang_components (name,version) VALUES($1,$2) RETURNING id
      [array (
      'name' => 'core',
      'version' => '2011033002.02',
      )]
      Stack trace:

      • line 394 of /lib/dml/moodle_database.php: dml_write_exception thrown
      • line 232 of /lib/dml/pgsql_native_moodle_database.php: call to moodle_database->query_end()
      • line 781 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->query_end()
      • line 833 of /lib/dml/pgsql_native_moodle_database.php: call to pgsql_native_moodle_database->insert_record_raw()
      • line 101 of /admin/report/customlang/locallib.php: call to pgsql_native_moodle_database->insert_record()
      • line 48 of /admin/report/customlang/index.php: call to report_customlang_utils::checkout()

            mudrd8mz David Mudrák (@mudrd8mz)
            mudrd8mz David Mudrák (@mudrd8mz)
            Sam Hemelryk Sam Hemelryk
            Aparup Banerjee Aparup Banerjee
            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.