-
Bug
-
Resolution: Fixed
-
Minor
-
2.2
-
MOODLE_22_STABLE
-
MOODLE_22_STABLE
-
While playing a bit with the editor after MDL-29611, I've detected that the JS in the edit_field page was not running properly.
Tracing the problem, it was caused by a bad use of xmldb_field::CHAR_MAX_LENGTH in the js script (caused by MDL-29313). So I'm going to change it by harcoded "1333" and done (note this is not expected to change for some years and the script does not need any other, more complex solution).
At the same time, in the same JS, I'm going to disable the signed/unsigned field when numbers or floats are selected, aiming to reduce the number of "unsigned" db columns of those 2 types (not brave enough to do the change for integers yet, lol).