Trim input before checking minimum length for (TII) assignment titles
Description
Leading and trailing spaces are not trimmed before making the check. If you create an assignment with leading or trailing whitespce, but actual characters are less than 3, the assignment will be created but will fail to be hooked up to TII.
The solution to this is to just trim the title of the assignment on creation/edit.
Leading and trailing spaces are not trimmed before making the check. If you create an assignment with leading or trailing whitespce, but actual characters are less than 3, the assignment will be created but will fail to be hooked up to TII.
The solution to this is to just trim the title of the assignment on creation/edit.