-
Bug
-
Resolution: Fixed
-
Minor
-
3.9.4, 3.10, 3.11, 4.0
-
MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_39_STABLE, MOODLE_400_STABLE
-
MOODLE_310_STABLE, MOODLE_39_STABLE
-
MDL-70525_master -
When I tried to import a profiling file which includes huge values, the system returns an error and the profiling file cannot be imported.
An example of error message is below:
Some problem happened importing the file "29f033cd757f128a653374e0cdeb9009.mpr"
It looks validation error from schemaValidateSource function.
https://github.com/moodle/moodle/blob/MOODLE_310_STABLE/lib/xhprof/xhprof_moodle.php#L826-L829
The XML schema "int" is for 32 integer, so they needs to change to "integer" for infinite integer value.
The file which I got the error attached.