Topic: [Bug] Creating set w/o shortname => contradictory error message

Posted under Site Bug Reports & Feature Requests

I tried to create a new set, but forgot to fill in the "Short Name" field.

Error message:
Shortname must be between three and one hundred characters long;
Shortname must be between one and fifty characters long;
Shortname must only contain numbers, lowercase letters, and underscores;
Shortname must contain at least one lowercase letter or underscore.

The first and second lines of the error message contradict each other.

Looks like the shortname is getting validated twice with different length constraints by accident. The shortname has to be between 3 and 50 characters as a result of that. I'll fix that up sometime.

  • 1