isle-project/isle-dashboard

Creating course with uppercase characters results in error

Closed this issue · 1 comments

Describe the bug

Creating a course with an uppercase letter results in an error message being displayed.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Create Course'
  2. Fill in a course identifier with uppercase letters and click on 'Create'
  3. See error

Expected behavior

Since course identifiers should neither contain uppercase letters nor spaces, we should use client-side validation to block the user from creating a course with such an identifier while at the same time validating correct inputs server-side.

This issue has meanwhile been resolved.