-
Bug
-
Resolution: Fixed
-
Blocker
-
2.0.2
-
PostgreSQL
-
MOODLE_20_STABLE
-
MOODLE_20_STABLE
-
MDL-27246-cutomlang-version -
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()
- blocks
-
MDL-27293 Maximum execution time exceeds when checking out the strings into the language customization tool
-
- Closed
-